chiark / gitweb /
timesyncd: enable watchdog support
[elogind.git] / units / systemd-timesyncd.service.in
index 21015c64b1b33a2bf11282364bfb7d1b2d91cd77..1d1f4860a8ee046d6f39f6b3731e96ed15d68edb 100644 (file)
@@ -16,6 +16,10 @@ Type=notify
 Restart=always
 RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-timesyncd
+CapabilityBoundingSet=CAP_SYS_TIME CAP_SETUID CAP_SETGID CAP_SETPCAP
+PrivateTmp=yes
+PrivateDevices=yes
+WatchdogSec=1min
 
 [Install]
 WantedBy=multi-user.target