configuration-templates – Diff between revs 29 and 50

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 29 Rev 50
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
4   4  
5 check process nginx with pidfile /var/run/nginx.pid 5 check process nginx with pidfile /var/run/nginx.pid
6 group www 6 group www
7 group nginx 7 group nginx
-   8 depend nginx_bin
-   9 depend nginx_rc
8 start program = "/etc/init.d/nginx start" 10 start program = "/etc/init.d/nginx start"
9 stop program = "/etc/init.d/nginx stop" 11 stop program = "/etc/init.d/nginx stop"
10 # if failed port 80 protocol http request "/" then restart 12 # if failed port 80 protocol http request "/" then restart
11 if 5 restarts with 5 cycles then timeout 13 # if 5 restarts with 5 cycles then timeout
12 depend nginx_bin -  
13 depend nginx_rc -  
14   14  
15 check file nginx_bin with path /usr/sbin/nginx 15 check file nginx_bin with path /usr/sbin/nginx
16 group nginx 16 group nginx
17 include /etc/monit/templates/rootbin 17 include /etc/monit/templates/rootbin
18   18  
19 check file nginx_rc with path /etc/init.d/nginx 19 check file nginx_rc with path /etc/init.d/nginx
20 group nginx 20 group nginx
21 include /etc/monit/templates/rootbin 21 include /etc/monit/templates/rootbin
22   22