summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--units/fedora/prefdm.service2
-rw-r--r--units/gentoo/halt.service5
-rw-r--r--units/gentoo/poweroff.service5
-rw-r--r--units/gentoo/reboot.service5
-rw-r--r--units/suse/halt.service5
-rw-r--r--units/suse/poweroff.service5
-rw-r--r--units/suse/reboot.service5
11 files changed, 20 insertions, 30 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
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
index 89a96be1c8..79a2af39dc 100644
--- a/units/fedora/prefdm.service
+++ b/units/fedora/prefdm.service
@@ -7,7 +7,7 @@
[Unit]
Description=Display Manager
-After=syslog.target dbus.target haldaemon.service
+After=syslog.target haldaemon.service
[Service]
ExecStart=/etc/X11/prefdm -nodaemon
diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service
index 19ead8a315..0b4de1148f 100644
--- a/units/gentoo/halt.service
+++ b/units/gentoo/halt.service
@@ -8,9 +8,8 @@
[Unit]
Description=Halt
DefaultDependencies=no
-Requires=shutdown.target killall.service
-After=shutdown.target killall.service
-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 killall.service
+After=shutdown.target umount.target killall.service
[Service]
Type=finish
diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service
index 9ceb205b05..f4b8fbf122 100644
--- a/units/gentoo/poweroff.service
+++ b/units/gentoo/poweroff.service
@@ -8,9 +8,8 @@
[Unit]
Description=Power-Off
DefaultDependencies=no
-Requires=shutdown.target killall.service
-After=shutdown.target killall.service
-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 killall.service
+After=shutdown.target umount.target killall.service
[Service]
Type=finish
diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service
index c223e6c26f..7492aaedb2 100644
--- a/units/gentoo/reboot.service
+++ b/units/gentoo/reboot.service
@@ -8,9 +8,8 @@
[Unit]
Description=Reboot
DefaultDependencies=no
-Requires=shutdown.target killall.service
-After=shutdown.target killall.service
-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 killall.service
+After=shutdown.target umount.target killall.service
[Service]
Type=finish
diff --git a/units/suse/halt.service b/units/suse/halt.service
index 5f42ac691f..75e30632c0 100644
--- a/units/suse/halt.service
+++ b/units/suse/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/suse/poweroff.service b/units/suse/poweroff.service
index 93a9da502a..f9f7b56dc1 100644
--- a/units/suse/poweroff.service
+++ b/units/suse/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/suse/reboot.service b/units/suse/reboot.service
index c3526b3035..5fc24d1c8f 100644
--- a/units/suse/reboot.service
+++ b/units/suse/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