configuration-templates – Diff between revs 27 and 169

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 27 Rev 169
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
3 ########################################################################### 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 4  
-   5 check process ntpd matching "ntpd"
-   6 start program "/bin/systemctl start openntpd"
-   7 stop program "/bin/systemctl stop openntpd"
-   8 #if failed host 127.0.0.1 port 123 type udp then restart
-   9 # if 5 restarts within 5 cycles then timeout
13   10  
14
Generated by GNU Enscript 1.6.5.90.
-  
15   -  
16   -  
17   -