summaryrefslogtreecommitdiff
path: root/units/arch
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-13 21:30:38 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-13 21:30:38 +0200
commit172f6478b3d70f03e4712d62bc31d9c604e852b4 (patch)
treea6118c457a5dae988cfae348857e261a40e49a4c /units/arch
parent6f28c033ec506847b3bfa4efaf52478120c36946 (diff)
units: update other distro units to recent fedora changes
Diffstat (limited to 'units/arch')
-rw-r--r--units/arch/halt.service5
-rw-r--r--units/arch/poweroff.service5
-rw-r--r--units/arch/reboot.service5
-rw-r--r--units/arch/sysinit.service3
4 files changed, 7 insertions, 11 deletions
diff --git a/units/arch/halt.service b/units/arch/halt.service
index 87224e34b6..2017d91bf5 100644
--- a/units/arch/halt.service
+++ b/units/arch/halt.service
@@ -8,9 +8,8 @@
[Unit]
Description=Halt
DefaultDependencies=no
-Requires=shutdown.target
-After=shutdown.target
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
[Service]
Type=finish
diff --git a/units/arch/poweroff.service b/units/arch/poweroff.service
index ffa592c8f6..04922db315 100644
--- a/units/arch/poweroff.service
+++ b/units/arch/poweroff.service
@@ -8,9 +8,8 @@
[Unit]
Description=Power-Off
DefaultDependencies=no
-Requires=shutdown.target
-After=shutdown.target
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
[Service]
Type=finish
diff --git a/units/arch/reboot.service b/units/arch/reboot.service
index 934903dc6b..8d1e90f5aa 100644
--- a/units/arch/reboot.service
+++ b/units/arch/reboot.service
@@ -8,9 +8,8 @@
[Unit]
Description=Reboot
DefaultDependencies=no
-Requires=shutdown.target
-After=shutdown.target
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
[Service]
Type=finish
diff --git a/units/arch/sysinit.service b/units/arch/sysinit.service
index 1a19baf2f6..880deccf9c 100644
--- a/units/arch/sysinit.service
+++ b/units/arch/sysinit.service
@@ -8,9 +8,8 @@
[Unit]
Description=System Initialization
DefaultDependencies=no
-Before=local-fs.target remote-fs.target swap.target sockets.target
Conflicts=shutdown.target
-Before=shutdown.target
+Before=shutdown.target emergency.service emergency.target
[Service]
ExecStart=/etc/rc.sysinit