summaryrefslogtreecommitdiff
path: root/units/debian
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-14 02:58:37 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-14 02:58:37 +0200
commit46574a5b4afeac0c3f69f15ce47c460309cb9bec (patch)
treeaa197ea69189bf4c689d8a85c4d3949e82f4f5da /units/debian
parentd48141ba0bed2866e05261cf06f0a6adfb11f349 (diff)
units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations
Diffstat (limited to 'units/debian')
-rw-r--r--units/debian/halt.service19
-rw-r--r--units/debian/killall.service18
-rw-r--r--units/debian/poweroff.service19
-rw-r--r--units/debian/reboot.service19
4 files changed, 0 insertions, 75 deletions
diff --git a/units/debian/halt.service b/units/debian/halt.service
deleted file mode 100644
index 96061be56f..0000000000
--- a/units/debian/halt.service
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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=Halt
-DefaultDependencies=no
-Requires=shutdown.target umount.target killall.service
-After=shutdown.target umount.target killall.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-Environment=INIT_HALT=HALT RUNLEVEL=0
-ExecStart=/etc/init.d/halt stop
-StandardOutput=tty
diff --git a/units/debian/killall.service b/units/debian/killall.service
deleted file mode 100644
index b7ed11aca6..0000000000
--- a/units/debian/killall.service
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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
diff --git a/units/debian/poweroff.service b/units/debian/poweroff.service
deleted file mode 100644
index 34a6683040..0000000000
--- a/units/debian/poweroff.service
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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=Power-Off
-DefaultDependencies=no
-Requires=shutdown.target umount.target killall.service
-After=shutdown.target umount.target killall.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-Environment=RUNLEVEL=0
-ExecStart=/etc/init.d/halt stop
-StandardOutput=tty
diff --git a/units/debian/reboot.service b/units/debian/reboot.service
deleted file mode 100644
index 99f259e992..0000000000
--- a/units/debian/reboot.service
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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=Reboot
-DefaultDependencies=no
-Requires=shutdown.target umount.target killall.service
-After=shutdown.target umount.target killall.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-Environment=RUNLEVEL=6
-ExecStart=/etc/init.d/reboot stop
-StandardOutput=tty