Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_monit_conf.d_apache2 311B

12345678
  1. check process apache2 with pidfile /var/run/apache2/apache2.pid
  2. group www
  3. start program = "/bin/systemctl start apache2"
  4. stop program = "/bin/systemctl stop apache2"
  5. if failed host localhost port 80 protocol http
  6. with timeout 10 seconds
  7. then restart
  8. if 5 restarts within 5 cycles then timeout