chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev-builtin-keyboard: do tell on which device EVIOCSKEYCODE failed.
[elogind.git]
/
units
/
systemd-timesyncd.service.in
diff --git
a/units/systemd-timesyncd.service.in
b/units/systemd-timesyncd.service.in
index 21015c64b1b33a2bf11282364bfb7d1b2d91cd77..cbde3ff67aa9ef08d471db3abb436be4f7abbbc0 100644
(file)
--- a/
units/systemd-timesyncd.service.in
+++ b/
units/systemd-timesyncd.service.in
@@
-9,13
+9,21
@@
Description=Network Time Synchronization
Documentation=man:systemd-timesyncd.service(8)
ConditionCapability=CAP_SYS_TIME
Description=Network Time Synchronization
Documentation=man:systemd-timesyncd.service(8)
ConditionCapability=CAP_SYS_TIME
-After=systemd-networkd.service
+DefaultDependencies=off
+RequiresMountsFor=/var/lib/systemd/clock
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service
+Before=sysinit.target shutdown.target
+Conflicts=shutdown.target
[Service]
Type=notify
Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-timesyncd
[Service]
Type=notify
Restart=always
RestartSec=0
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
+WatchdogSec=1min
[Install]
[Install]
-WantedBy=
multi-user
.target
+WantedBy=
sysinit
.target