chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
target: implicitly shutdown targets on shutdown, so that they are pulled into the...
[elogind.git]
/
units
/
var-run.service
diff --git
a/units/var-run.service
b/units/var-run.service
index a958ff7d11125e762efa56fb9bba7d543ae180c0..f493ee8ec1e43f77f7afff2e76c973b671654645 100644
(file)
--- a/
units/var-run.service
+++ b/
units/var-run.service
@@
-14,8
+14,9
@@
Before=local-fs.target
[Service]
Type=oneshot
[Service]
Type=oneshot
-
ValidNoProcess
=yes
+
RemainAfterExit
=yes
ExecStart=/bin/touch /var/run/utmp ; /bin/chmod 0664 /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
+ExecStart=/bin/mkdir /var/run/user ; /bin/chmod 0755 /var/run/user ; -/sbin/restorecon /var/run/user
[Install]
WantedBy=local-fs.target
[Install]
WantedBy=local-fs.target