OLD | NEW |
---|---|
(Empty) | |
1 # A monit file for nginx running on an skfe. | |
2 # | |
3 check process nginx with pidfile /var/run/nginx.pid | |
4 start program = "/etc/init.d/nginx start" | |
5 stop program = "/etc/init.d/nginx stop" | |
6 depends on nginx_init | |
7 depends on nginx_sites_available | |
8 | |
9 check file nginx_init | |
10 with path /etc/init.d/nginx | |
11 if changed timestamp then restart | |
12 | |
13 check file nginx_sites_available | |
14 with path /etc/nginx/sites-available/skia_org | |
15 if changed timestamp then restart | |
OLD | NEW |