From af65a09126e216d468592f069aee50dfe0382d3a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 3 Jul 2010 19:53:37 +0200 Subject: units: update shipped unit files for DefaultDependencies= --- units/gentoo/halt.service | 1 + units/gentoo/killall.service | 1 + units/gentoo/poweroff.service | 1 + units/gentoo/reboot.service | 1 + units/gentoo/xdm.service | 9 +++++---- 5 files changed, 9 insertions(+), 4 deletions(-) (limited to 'units/gentoo') 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 -- cgit v1.2.3-54-g00ecf