Inital commit

This commit is contained in:
2021-01-08 11:06:07 +01:00
commit 8f9fb4fd5c
13 changed files with 368 additions and 0 deletions

6
conf/monit/nginx.conf Normal file
View File

@@ -0,0 +1,6 @@
check process nginx with pidfile /var/run/nginx.pid
start program = "/usr/bin/systemctl start nginx"
stop program = "/usr/bin/systemctl stop nginx"
if not exist for 1 cycles then restart
if not exist for 3 cycles then exec "/opt/MonitNotify.sh 'SRV-WARN: Nginx"
else if recovered then exec "/opt/MonitNotify.sh 'SRV-OK: Nginx'"