[Unit] Description=Archipelago authenticated NTS time observer Wants=network-online.target After=network-online.target ConditionPathExists=/etc/archipelago-nts/chrony.conf [Service] Type=simple User=archipelago-nts Group=archipelago-nts UMask=0077 # -x maintains an authenticated virtual clock without setting the host clock. # This principal is distinct from both the application and the OS clock daemon. ExecStart=/usr/sbin/chronyd -x -U -n -u archipelago-nts -f /etc/archipelago-nts/chrony.conf RuntimeDirectory=archipelago-nts RuntimeDirectoryMode=0700 NoNewPrivileges=yes CapabilityBoundingSet= AmbientCapabilities= ProtectSystem=strict ProtectHome=yes PrivateTmp=yes PrivateDevices=yes ProtectKernelTunables=yes ProtectKernelModules=yes ProtectControlGroups=yes RestrictSUIDSGID=yes RestrictNamespaces=yes RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 SystemCallArchitectures=native LockPersonality=yes MemoryMax=128M MemorySwapMax=0 TasksMax=32 Restart=on-failure RestartSec=5 TimeoutStopSec=10 [Install] WantedBy=multi-user.target