/lib/systemd/system/openntpd.service is in openntpd 1:6.0p1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | [Unit]
Description=OpenNTPd Network Time Protocol
Conflicts=systemd-timesyncd.service
After=network.target
[Service]
Type=forking
EnvironmentFile=-/etc/default/openntpd
ExecStart=/usr/sbin/ntpd $DAEMON_OPTS
ExecStartPre=/usr/sbin/ntpd -n $DAEMON_OPTS
Restart=on-failure
RuntimeDirectory=openntpd
# security profile
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
CapabilityBoundingSet=CAP_SYS_TIME CAP_NET_BIND_SERVICE CAP_SYSLOG
CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_CHROOT
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
|