diff options
author | Bill Nottingham <notting@redhat.com> | 2010-10-26 17:16:44 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-10-26 17:16:44 -0400 |
commit | 10e5e60f3efa4e5495771694acf5f534eee80e13 (patch) | |
tree | 0b2f595014506f002d37d7cfd3b46527084f0902 /systemd | |
parent | 57abe2bcd4b228416f54bda6aa7912a711a21edb (diff) | |
download | initscripts-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.service | 19 | ||||
-rw-r--r-- | systemd/system/poweroff.service | 19 | ||||
-rw-r--r-- | systemd/system/reboot.service | 19 |
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 |