configuration-templates – Blame information for rev 27

Subversion Repositories:
Rev:
Rev Author Line No. Line
27 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ###########################################################################
4  
5 # The monit file works assuming that /etc/init.d/ntp exists -
6 # on some distributions, the init file is located at /etc/init.d/ntpd.
7  
8 check process ntpd with pidfile /var/run/ntpd.pid
9 start program = "/etc/init.d/ntp start"
10 stop program = "/etc/init.d/ntp stop"
11 if failed host 127.0.0.1 port 123 type udp then restart
12 # if 5 restarts within 5 cycles then timeout