summaryrefslogtreecommitdiff
path: root/monit/fcgiwrap.conf
diff options
context:
space:
mode:
Diffstat (limited to 'monit/fcgiwrap.conf')
-rw-r--r--monit/fcgiwrap.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/monit/fcgiwrap.conf b/monit/fcgiwrap.conf
new file mode 100644
index 0000000..5866503
--- /dev/null
+++ b/monit/fcgiwrap.conf
@@ -0,0 +1,5 @@
+check process fcgiwrap with pidfile /var/run/fcgiwrap.pids
+ start program = "/etc/init.d/fcgiwrap start"
+ stop program = "/etc/init.d/fcgiwrap stop"
+ if 3 restarts within 3 cycles then alert
+ if 5 restarts within 5 cycles then timeout