| Index: skfe/sys/nginx_monit
|
| diff --git a/skfe/sys/nginx_monit b/skfe/sys/nginx_monit
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..00f8e936c54e823be7c619ca97e861d26c3a6dc7
|
| --- /dev/null
|
| +++ b/skfe/sys/nginx_monit
|
| @@ -0,0 +1,15 @@
|
| +# A monit file for nginx running on an skfe.
|
| +#
|
| +check process nginx with pidfile /var/run/nginx.pid
|
| + start program = "/etc/init.d/nginx start"
|
| + stop program = "/etc/init.d/nginx stop"
|
| + depends on nginx_init
|
| + depends on nginx_sites_available
|
| +
|
| +check file nginx_init
|
| + with path /etc/init.d/nginx
|
| + if changed timestamp then restart
|
| +
|
| +check file nginx_sites_available
|
| + with path /etc/nginx/sites-available/skia_org
|
| + if changed timestamp then restart
|
|
|