Adaptations for the new baseimage version 4.
This commit is contained in:
parent
1b36ec0101
commit
32b23d080a
14 changed files with 52 additions and 149 deletions
14
rootfs/etc/services.d/app/kill
Executable file
14
rootfs/etc/services.d/app/kill
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# When receiving SIGTERM, Firefox doesn't qui immediately and instead ask for
|
||||
# confirmation. Instead, terminate Firefox by sending the CTRL+q key presses.
|
||||
#
|
||||
|
||||
set -e # Exit immediately if a command exits with a non-zero status.
|
||||
set -u # Treat unset variables as an error.
|
||||
|
||||
xdotool key "Escape"
|
||||
xdotool key "ctrl+q"
|
||||
|
||||
# vim:ft=sh:ts=4:sw=4:et:sts=4
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue