mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-03 13:47:04 +03:00
units: add missing After= for var-run.service, var-lock.service
This commit is contained in:
parent
8acb3d88d3
commit
322198005a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user