configuration-templates – Diff between revs 29 and 50
?pathlinks?
Rev 29 | Rev 50 | |||
---|---|---|---|---|
Line 3... | Line 3... | |||
3 | ########################################################################### |
3 | ########################################################################### |
|
Line 4... | Line 4... | |||
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 |
||
- | 8 | depend nginx_bin |
||
7 | group nginx |
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 |
- | ||
12 | depend nginx_bin |
- | ||
Line 13... | Line 13... | |||
13 | depend nginx_rc |
13 | # if 5 restarts with 5 cycles then timeout |
|
14 | |
14 | |
|
15 | check file nginx_bin with path /usr/sbin/nginx |
15 | check file nginx_bin with path /usr/sbin/nginx |