diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-03 19:53:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-03 19:53:37 +0200 |
commit | af65a09126e216d468592f069aee50dfe0382d3a (patch) | |
tree | e5b52ee96be55bbbcb3aab1eaf3328aa7678c6ec /units/arch | |
parent | daf32cc791f26e2a9849e25b94304839e20fcc3b (diff) |
units: update shipped unit files for DefaultDependencies=
Diffstat (limited to 'units/arch')
-rw-r--r-- | units/arch/halt.service | 1 | ||||
-rw-r--r-- | units/arch/poweroff.service | 1 | ||||
-rw-r--r-- | units/arch/rc-local.service | 7 | ||||
-rw-r--r-- | units/arch/reboot.service | 1 | ||||
-rw-r--r-- | units/arch/sysinit.service | 1 |
5 files changed, 7 insertions, 4 deletions
diff --git a/units/arch/halt.service b/units/arch/halt.service index 445ca48d44..96553f1ad4 100644 --- a/units/arch/halt.service +++ b/units/arch/halt.service @@ -7,6 +7,7 @@ [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 diff --git a/units/arch/poweroff.service b/units/arch/poweroff.service index 3ca8f30e94..d6e42e1a4b 100644 --- a/units/arch/poweroff.service +++ b/units/arch/poweroff.service @@ -7,6 +7,7 @@ [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 diff --git a/units/arch/rc-local.service b/units/arch/rc-local.service index 45b6e16483..596861ac95 100644 --- a/units/arch/rc-local.service +++ b/units/arch/rc-local.service @@ -7,10 +7,6 @@ [Unit] Description=/etc/rc.local Compatibility -Requires=basic.target -After=basic.target -Conflicts=shutdown.target -Before=getty@tty1.service [Service] ExecStart=/etc/rc.local @@ -18,3 +14,6 @@ ExectStop=/etc/rc.local.shutdown TimeoutSec=0 StandardInput=tty ValidNoProcess=yes + +[Install] +WantedBy=multi-user.target diff --git a/units/arch/reboot.service b/units/arch/reboot.service index 4aa7dc2e81..b2c18842ff 100644 --- a/units/arch/reboot.service +++ b/units/arch/reboot.service @@ -7,6 +7,7 @@ [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 diff --git a/units/arch/sysinit.service b/units/arch/sysinit.service index 8be50d784b..1a19baf2f6 100644 --- a/units/arch/sysinit.service +++ b/units/arch/sysinit.service @@ -7,6 +7,7 @@ [Unit] Description=System Initialization +DefaultDependencies=no Before=local-fs.target remote-fs.target swap.target sockets.target Conflicts=shutdown.target Before=shutdown.target |