Add SIGKILL to "normal" exit codes

This commit is contained in:
Alexander Grothe 2018-08-10 16:03:57 +02:00
parent 3a349fd6ed
commit 171bdd2eff

View File

@ -8,5 +8,5 @@ ExecStartPre=-/usr/bin/set-kodi-display
ExecStart=/usr/bin/kodi -l /run/lirc/lircd ExecStart=/usr/bin/kodi -l /run/lirc/lircd
ExecStop=/bin/bash -c "/usr/bin/kodi-send --action=QUIT; while ps -p $MAINPID -o comm=; do sleep .25; done" ExecStop=/bin/bash -c "/usr/bin/kodi-send --action=QUIT; while ps -p $MAINPID -o comm=; do sleep .25; done"
TimeoutStopSec=10 TimeoutStopSec=10
SuccessExitStatus=0 127 SuccessExitStatus=0 127 SIGKILL
Restart=on-failure Restart=on-failure