units: add missing After= for var-run.service, var-lock.service

This commit is contained in:
Kay Sievers 2010-08-17 14:01:12 +02:00
parent 8acb3d88d3
commit 322198005a
4 changed files with 9 additions and 1 deletions

View file

@ -14,3 +14,6 @@ What=tmpfs
Where=/var/lock
Type=tmpfs
Options=mode=775,gid=lock
[Install]
WantedBy=local-fs.target

View file

@ -9,6 +9,7 @@
Description=Lock Directory
DefaultDependencies=no
Requires=var-lock.mount
After=var-run.mount
Before=local-fs.target
[Service]

View file

@ -14,3 +14,6 @@ What=tmpfs
Where=/var/run
Type=tmpfs
Options=mode=755
[Install]
WantedBy=local-fs.target

View file

@ -9,12 +9,13 @@
Description=Runtime Directory
DefaultDependencies=no
Requires=var-run.mount
After=var-run.mount
Before=local-fs.target
[Service]
Type=oneshot
ValidNoProcess=yes
ExecStart=/bin/touch /var/run/utmp ; /bin/chown root:utmp /var/run/utmp
ExecStart=/bin/touch /var/run/utmp ; /bin/chmod 0664 /var/run/utmp ; /bin/chown root:utmp /var/run/utmp
[Install]
WantedBy=local-fs.target