aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-26 17:16:44 -0400
committerBill Nottingham <notting@redhat.com>2010-10-26 17:16:44 -0400
commit10e5e60f3efa4e5495771694acf5f534eee80e13 (patch)
tree0b2f595014506f002d37d7cfd3b46527084f0902 /systemd
parent57abe2bcd4b228416f54bda6aa7912a711a21edb (diff)
downloadinitscripts-10e5e60f3efa4e5495771694acf5f534eee80e13.tar
initscripts-10e5e60f3efa4e5495771694acf5f534eee80e13.tar.gz
initscripts-10e5e60f3efa4e5495771694acf5f534eee80e13.tar.bz2
initscripts-10e5e60f3efa4e5495771694acf5f534eee80e13.tar.xz
initscripts-10e5e60f3efa4e5495771694acf5f534eee80e13.zip
Don't ship our own halt service; systemd handles this natively.
We will need to add a halt.local service.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/system/halt.service19
-rw-r--r--systemd/system/poweroff.service19
-rw-r--r--systemd/system/reboot.service19
3 files changed, 0 insertions, 57 deletions
diff --git a/systemd/system/halt.service b/systemd/system/halt.service
deleted file mode 100644
index a1c0e84f..00000000
--- a/systemd/system/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 the system
-DefaultDependencies=no
-Requires=umount.target killall.service
-After=umount.target killall.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-Environment=INIT_HALT=HALT RUNLEVEL=0
-ExecStart=/etc/init.d/halt start
-StandardOutput=tty
diff --git a/systemd/system/poweroff.service b/systemd/system/poweroff.service
deleted file mode 100644
index 28b4a5f4..00000000
--- a/systemd/system/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 down the system
-DefaultDependencies=no
-Requires=umount.target killall.service
-After=umount.target killall.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-Environment=RUNLEVEL=0
-ExecStart=/etc/init.d/halt start
-StandardOutput=tty
diff --git a/systemd/system/reboot.service b/systemd/system/reboot.service
deleted file mode 100644
index 622beb58..00000000
--- a/systemd/system/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 the system
-DefaultDependencies=no
-Requires=umount.target killall.service
-After=umount.target killall.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-Environment=RUNLEVEL=6
-ExecStart=/etc/init.d/reboot start
-StandardOutput=tty