summaryrefslogtreecommitdiff
path: root/units/gentoo
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-03 19:53:37 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-03 19:53:37 +0200
commitaf65a09126e216d468592f069aee50dfe0382d3a (patch)
treee5b52ee96be55bbbcb3aab1eaf3328aa7678c6ec /units/gentoo
parentdaf32cc791f26e2a9849e25b94304839e20fcc3b (diff)
units: update shipped unit files for DefaultDependencies=
Diffstat (limited to 'units/gentoo')
-rw-r--r--units/gentoo/halt.service1
-rw-r--r--units/gentoo/killall.service1
-rw-r--r--units/gentoo/poweroff.service1
-rw-r--r--units/gentoo/reboot.service1
-rw-r--r--units/gentoo/xdm.service9
5 files changed, 9 insertions, 4 deletions
diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service
index c5d96043c0..ecf4cff4f5 100644
--- a/units/gentoo/halt.service
+++ b/units/gentoo/halt.service
@@ -7,6 +7,7 @@
[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
diff --git a/units/gentoo/killall.service b/units/gentoo/killall.service
index 626e9d1f68..ce4d99ef2e 100644
--- a/units/gentoo/killall.service
+++ b/units/gentoo/killall.service
@@ -7,6 +7,7 @@
[Unit]
Description=Kill All Processes
+DefaultDependencies=no
After=shutdown.target
OnlyByDependency=yes
diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service
index 2cc645ec53..2ae1fd7f29 100644
--- a/units/gentoo/poweroff.service
+++ b/units/gentoo/poweroff.service
@@ -7,6 +7,7 @@
[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
diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service
index fdca6f866e..353fb4bfcb 100644
--- a/units/gentoo/reboot.service
+++ b/units/gentoo/reboot.service
@@ -7,6 +7,7 @@
[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
diff --git a/units/gentoo/xdm.service b/units/gentoo/xdm.service
index ac1df75722..b94c6a8c0a 100644
--- a/units/gentoo/xdm.service
+++ b/units/gentoo/xdm.service
@@ -7,10 +7,11 @@
[Unit]
Description=Display Manager
-Before=graphical.target
-Requires=basic.target
-After=basic.target syslog.target dbus.service hald.service
-Conflicts=shutdown.target
+After=syslog.target dbus.target hald.service
[Service]
ExecStart=/etc/init.d/xdm start
+
+[Install]
+Alias=display-manager.service
+WantedBy=graphical.target