summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/var-run.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/var-run.service b/units/var-run.service
index 38e072025b..f493ee8ec1 100644
--- a/units/var-run.service
+++ b/units/var-run.service
@@ -16,6 +16,7 @@ Before=local-fs.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/touch /var/run/utmp ; /bin/chmod 0664 /var/run/utmp ; /bin/chown root:utmp /var/run/utmp
+ExecStart=/bin/mkdir /var/run/user ; /bin/chmod 0755 /var/run/user ; -/sbin/restorecon /var/run/user
[Install]
WantedBy=local-fs.target