Commit 32219800 authored by Kay Sievers's avatar Kay Sievers
Browse files

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

parent 8acb3d88
......@@ -14,3 +14,6 @@ What=tmpfs
Where=/var/lock
Type=tmpfs
Options=mode=775,gid=lock
[Install]
WantedBy=local-fs.target
......@@ -9,6 +9,7 @@
Description=Lock Directory
DefaultDependencies=no
Requires=var-lock.mount
After=var-run.mount
Before=local-fs.target
[Service]
......
......@@ -14,3 +14,6 @@ What=tmpfs
Where=/var/run
Type=tmpfs
Options=mode=755
[Install]
WantedBy=local-fs.target
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment