summaryrefslogtreecommitdiff
path: root/services/sigterm.in
diff options
context:
space:
mode:
Diffstat (limited to 'services/sigterm.in')
-rw-r--r--services/sigterm.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/sigterm.in b/services/sigterm.in
new file mode 100644
index 0000000..c98e037
--- /dev/null
+++ b/services/sigterm.in
@@ -0,0 +1,10 @@
+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"