summaryrefslogtreecommitdiff
path: root/units/var-run.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/var-run.service')
-rw-r--r--units/var-run.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/var-run.service b/units/var-run.service
index 10e2b0525f..a958ff7d11 100644
--- a/units/var-run.service
+++ b/units/var-run.service
@@ -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