chiark / gitweb /
units: Add halt, killall, poweroff and reboot unit files for Debian
[elogind.git] / units / debian / killall.service
diff --git a/units/debian/killall.service b/units/debian/killall.service
new file mode 100644 (file)
index 0000000..b7ed11a
--- /dev/null
@@ -0,0 +1,18 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=Kill All Processes
+DefaultDependencies=no
+After=shutdown.target
+RefuseManualStart=yes
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/etc/init.d/sendsigs stop
+StandardOutput=tty