diff options
Diffstat (limited to '')
-rw-r--r-- | debian/chrony.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/chrony.service b/debian/chrony.service new file mode 100644 index 0000000..29e6382 --- /dev/null +++ b/debian/chrony.service @@ -0,0 +1,24 @@ +[Unit] +Description=chrony, an NTP client/server +Documentation=man:chronyd(8) man:chronyc(1) man:chrony.conf(5) +Conflicts=openntpd.service ntp.service ntpsec.service +Wants=time-sync.target +Before=time-sync.target +After=network.target +ConditionCapability=CAP_SYS_TIME + +[Service] +Type=forking +PIDFile=/run/chrony/chronyd.pid +EnvironmentFile=-/etc/default/chrony +ExecStart=/usr/sbin/chronyd $DAEMON_OPTS +PrivateTmp=yes +ProtectHome=yes +ProtectSystem=full +ProtectControlGroups=yes +ProtectKernelModules=yes +ProtectKernelTunables=yes + +[Install] +Alias=chronyd.service +WantedBy=multi-user.target |