1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-09 09:57:26 +03:00

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 Where=/var/lock
Type=tmpfs Type=tmpfs
Options=mode=775,gid=lock Options=mode=775,gid=lock
[Install]
WantedBy=local-fs.target

View File

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

View File

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

View File

@ -9,12 +9,13 @@
Description=Runtime Directory Description=Runtime Directory
DefaultDependencies=no DefaultDependencies=no
Requires=var-run.mount Requires=var-run.mount
After=var-run.mount
Before=local-fs.target Before=local-fs.target
[Service] [Service]
Type=oneshot Type=oneshot
ValidNoProcess=yes 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] [Install]
WantedBy=local-fs.target WantedBy=local-fs.target