1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-11-22 19:19:47 +01:00
init/services/sigterm.in
David Oberhollenzer 021f091082 Use services to implement shutdown/reboot sequence
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 13:28:07 +02:00

10 lines
222 B
Text

name = "sigterm"
description = "send SIGTERM to all processes"
exec = "@SCRIPTDIR@/killall5 15"
exec = "@BINPATH@/sleep 5"
type = wait
target = "%0"
before = "sigkill"
before = "sync"
before = "reboot"
before = "shutdown"