Fix desktop and udev launch scripts

These services were not responding to a SIGTERM
We need to catch the SIGTERM from the parent script and kill the child process
This commit is contained in:
Josh.5
2022-10-02 11:37:43 +00:00
committed by Josh Sunnex
parent 7614e503a7
commit 2c0b7b5d53
4 changed files with 49 additions and 14 deletions

View File

@@ -7,7 +7,6 @@ directory=/
user=%(ENV_USER)s
command=dbus-daemon --config-file=/usr/share/dbus-1/system.conf --nofork --nopidfile
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
autorestart=true
stopsignal=INT
stdout_logfile=/var/log/supervisor/dbus.log
stdout_logfile_maxbytes=10MB

View File

@@ -6,7 +6,7 @@ autorestart=true
user=%(ENV_USER)s
directory=/home/%(ENV_USER)s
command=/usr/bin/start-desktop.sh
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s"
stopsignal=INT
stdout_logfile=/home/%(ENV_USER)s/.cache/log/desktop.log
stdout_logfile_maxbytes=10MB