/
usr
/
share
/
doc
/
apache2
/
examples
/
/usr/share/doc/apache2/examples
mkdir
upload
Name
Size
Mode
Actions
apache2.monit
284
0644
edit
dl
rm
secondary-init-script
524
0644
edit
dl
rm
setup-instance
1945
0644
edit
dl
rm
Edit:
/usr/share/doc/apache2/examples/apache2.monit
(284B)
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
Save
cmd:
run