]> git.pld-linux.org Git - packages/chrony.git/blob - chronyd.upstart
- updated to 4.5
[packages/chrony.git] / chronyd.upstart
1 description "NTP daemon"
2
3 start on pld.network-started
4 stop on pld.shutdown-started
5
6 env NTPD_USER="ntp"
7 env NTPD_OPTIONS=""
8
9 respawn
10
11 pre-start script
12         # do not bother to start if not configured
13         [ -f /etc/ntp/chrony.conf ] || /sbin/initctl stop
14 end script
15
16 script
17         # Source old-style ntp service configuration
18         [ -f /etc/sysconfig/chronyd ] && . /etc/sysconfig/chronyd
19
20         export USE_UPSTART=no
21         exec /etc/rc.d/init.d/chronyd start
22 end script
This page took 0.066499 seconds and 3 git commands to generate.