From 10e5e60f3efa4e5495771694acf5f534eee80e13 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 26 Oct 2010 17:16:44 -0400 Subject: Don't ship our own halt service; systemd handles this natively. We will need to add a halt.local service. --- systemd/system/halt.service | 19 ------------------- systemd/system/poweroff.service | 19 ------------------- systemd/system/reboot.service | 19 ------------------- 3 files changed, 57 deletions(-) delete mode 100644 systemd/system/halt.service delete mode 100644 systemd/system/poweroff.service delete mode 100644 systemd/system/reboot.service (limited to 'systemd/system') 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 -- cgit v1.2.1