chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timesyncd: limit capabilities to CAP_SYS_TIME
[elogind.git]
/
units
/
systemd-timesyncd.service.in
diff --git
a/units/systemd-timesyncd.service.in
b/units/systemd-timesyncd.service.in
index 4a363f71cae23978255f0f80905b6d511b076cb7..e279d1bc29f054c5f996abc3dc004dde20767c74 100644
(file)
--- a/
units/systemd-timesyncd.service.in
+++ b/
units/systemd-timesyncd.service.in
@@
-9,12
+9,14
@@
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
[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
[Install]
WantedBy=multi-user.target
[Install]
WantedBy=multi-user.target