units: mark a couple of services as OnlyByDependency

This commit is contained in:
Lennart Poettering 2010-05-21 23:53:09 +02:00
parent bc0f8771f2
commit e962f5c34f
4 changed files with 5 additions and 0 deletions

2
fixme
View File

@ -63,6 +63,8 @@
* Add code to systemctl to wait for an operation to finish
* kmod-setup.c
Regularly:
* look for close() vs. close_nointr() vs. close_nointr_nofail()

View File

@ -12,6 +12,7 @@ Description=Basic System
Requires=local-fs.target swap.target sockets.target
After=local-fs.target swap.target sockets.target
Conflicts=emergency.service
OnlyByDependency=yes
m4_dnl
m4_ifdef(`TARGET_FEDORA',
m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit

View File

@ -8,6 +8,7 @@
[Unit]
Description=Kill All Processes
After=shutdown.target
OnlyByDependency=yes
[Service]
Type=finish

View File

@ -9,3 +9,4 @@
[Unit]
Description=Shutdown
OnlyByDependency=yes