| |
| |
| |
| |
| |
| |
| |
| |
|
|
| [Unit] |
| Description=Network Time Synchronization |
| Documentation=man:systemd-timesyncd.service(8) |
| ConditionCapability=CAP_SYS_TIME |
| ConditionVirtualization=!container |
| DefaultDependencies=no |
| After=systemd-remount-fs.service |
| Before=time-sync.target sysinit.target shutdown.target |
| Conflicts=shutdown.target |
| Wants=time-sync.target |
|
|
| [Service] |
| Type=notify |
| Restart=always |
| RestartSec=0 |
| ExecStart=!!@rootlibexecdir@/systemd-timesyncd |
| WatchdogSec=3min |
| User=systemd-timesync |
| DynamicUser=yes |
| CapabilityBoundingSet=CAP_SYS_TIME |
| AmbientCapabilities=CAP_SYS_TIME |
| PrivateDevices=yes |
| ProtectHome=yes |
| ProtectControlGroups=yes |
| ProtectKernelTunables=yes |
| ProtectKernelModules=yes |
| MemoryDenyWriteExecute=yes |
| RestrictRealtime=yes |
| RestrictNamespaces=yes |
| RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 |
| RuntimeDirectory=systemd/timesync |
| SystemCallFilter=@system-service @clock |
| SystemCallErrorNumber=EPERM |
| SystemCallArchitectures=native |
| LockPersonality=yes |
| StateDirectory=systemd/timesync |
|
|
| [Install] |
| WantedBy=sysinit.target |
| Alias=dbus-org.freedesktop.timesync1.service |