1
0
Fork 0
apache2/debian/apache2.monit
Daniel Baumann f56986e2d9
Adding debian version 2.4.63-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 11:01:27 +02:00

7 lines
284 B
Text

check process apache2 with pidfile /var/run/apache2.pid
group www
start program = "service apache2 start"
stop program = "service apache2 stop"
if failed host localhost port 80
protocol HTTP request "/" then restart
if 5 restarts within 5 cycles then timeout