diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 13:10:13 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 13:28:07 +0200 |
commit | 021f091082a74d5bd5503a3a3c7a569eee9c6d8f (patch) | |
tree | 5a1c742a3e4a1933ed3a54f39a7069f97e2500f1 /services/sigkill.in | |
parent | 0a280740716bde571c0f0db64d78a7f2141b56f4 (diff) |
Use services to implement shutdown/reboot sequence
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/sigkill.in')
-rw-r--r-- | services/sigkill.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/services/sigkill.in b/services/sigkill.in new file mode 100644 index 0000000..24677e4 --- /dev/null +++ b/services/sigkill.in @@ -0,0 +1,9 @@ +name = "sigkill" +description = "send SIGKILL to remaining processes" +exec = "@SCRIPTDIR@/killall5 9" +type = wait +target = "%0" +after = "sigterm" +before = "sync" +before = "shutdown" +before = "reboot" |