hilfe mein git ist komisch
This commit is contained in:
17
etc/monit/conf-available/nginx
Normal file
17
etc/monit/conf-available/nginx
Normal file
@@ -0,0 +1,17 @@
|
||||
check process nginx with pidfile /var/run/nginx.pid
|
||||
group www
|
||||
group nginx
|
||||
start program = "/etc/init.d/nginx start"
|
||||
stop program = "/etc/init.d/nginx stop"
|
||||
# if failed port 80 protocol http request "/" then restart
|
||||
if 5 restarts with 5 cycles then timeout
|
||||
depend nginx_bin
|
||||
depend nginx_rc
|
||||
|
||||
check file nginx_bin with path /usr/sbin/nginx
|
||||
group nginx
|
||||
include /etc/monit/templates/rootbin
|
||||
|
||||
check file nginx_rc with path /etc/init.d/nginx
|
||||
group nginx
|
||||
include /etc/monit/templates/rootbin
|
||||
Reference in New Issue
Block a user