/lib/systemd/system/openntpd.service is in openntpd 1:6.2p3-1.
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 24 25 26 27 28 29 | [Unit]
Description=OpenNTPd Network Time Protocol
Documentation=man:openntpd(8)
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_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_SETGID
CapabilityBoundingSet=CAP_SETUID
CapabilityBoundingSet=CAP_SYSLOG
CapabilityBoundingSet=CAP_SYS_CHROOT
CapabilityBoundingSet=CAP_SYS_NICE
CapabilityBoundingSet=CAP_SYS_TIME
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
|