chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on "activate...
[elogind.git]
/
units
/
systemd-tmpfiles-setup.service.in
diff --git
a/units/systemd-tmpfiles-setup.service.in
b/units/systemd-tmpfiles-setup.service.in
index df80e82be9577e4a5af3a56bc73874e59ed784e5..f90121e12e98653f8e2c16b620b1642fcc550797 100644
(file)
--- a/
units/systemd-tmpfiles-setup.service.in
+++ b/
units/systemd-tmpfiles-setup.service.in
@@
-10,10
+10,13
@@
Description=Recreate Volatile Files and Directories
DefaultDependencies=no
Wants=local-fs.target
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
DefaultDependencies=no
Wants=local-fs.target
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
-Before=basic.target shutdown.target
-ConditionPathExists=/etc/tmpfiles.d
+Before=sysinit.target shutdown.target
+ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d
+ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d
+ConditionDirectoryNotEmpty=|/etc/tmpfiles.d
+ConditionDirectoryNotEmpty=|/run/tmpfiles.d
[Service]
Type=oneshot
RemainAfterExit=yes
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@root
libexec
dir@/systemd-tmpfiles --create --remove
+ExecStart=@root
bin
dir@/systemd-tmpfiles --create --remove