[Unit] Description=TERA privileged system time adapter After=local-fs.target Before=tera-api.service [Service] Type=simple User=root Group=tera EnvironmentFile=-/etc/tera/tera-timed.env ExecStart=/usr/bin/tera-timed Restart=on-failure RestartSec=2s RuntimeDirectory=tera-timed RuntimeDirectoryMode=0750 UMask=0007 NoNewPrivileges=true PrivateTmp=true ProtectSystem=full ProtectHome=true PrivateDevices=true ProtectControlGroups=true ProtectKernelModules=true ProtectKernelTunables=true RestrictAddressFamilies=AF_UNIX RestrictSUIDSGID=true CapabilityBoundingSet=CAP_SYS_TIME AmbientCapabilities=CAP_SYS_TIME ReadWritePaths=/run/tera-timed /etc/localtime /etc/ntp.conf /var/run [Install] WantedBy=multi-user.target