chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sysusers: order before tmpfiles which need the ids
[elogind.git]
/
units
/
systemd-timesyncd.service.in
diff --git
a/units/systemd-timesyncd.service.in
b/units/systemd-timesyncd.service.in
index cbde3ff67aa9ef08d471db3abb436be4f7abbbc0..a20621dd581c8d5d71e07a26ad81547e284c80ad 100644
(file)
--- a/
units/systemd-timesyncd.service.in
+++ b/
units/systemd-timesyncd.service.in
@@
-11,9
+11,11
@@
Documentation=man:systemd-timesyncd.service(8)
ConditionCapability=CAP_SYS_TIME
DefaultDependencies=off
RequiresMountsFor=/var/lib/systemd/clock
ConditionCapability=CAP_SYS_TIME
DefaultDependencies=off
RequiresMountsFor=/var/lib/systemd/clock
-After=systemd-remount-fs.service systemd-tmpfiles-setup.service
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service
systemd-sysusers.service
Before=sysinit.target shutdown.target
Conflicts=shutdown.target
Before=sysinit.target shutdown.target
Conflicts=shutdown.target
+Wants=time-sync.target
+Before=time-sync.target
[Service]
Type=notify
[Service]
Type=notify
@@
-23,6
+25,8
@@
ExecStart=@rootlibexecdir@/systemd-timesyncd
CapabilityBoundingSet=CAP_SYS_TIME CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER
PrivateTmp=yes
PrivateDevices=yes
CapabilityBoundingSet=CAP_SYS_TIME CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER
PrivateTmp=yes
PrivateDevices=yes
+ProtectSystem=full
+ProtectHome=yes
WatchdogSec=1min
[Install]
WatchdogSec=1min
[Install]