Adaptations for the new baseimage version 4.

This commit is contained in:
Jocelyn Le Sage 2022-10-07 09:37:43 -04:00
parent 1b36ec0101
commit 32b23d080a
14 changed files with 52 additions and 149 deletions

14
rootfs/etc/services.d/app/kill Executable file
View 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