/usr/share/doc/apache2/examples/apache2.monit is in apache2 2.4.25-3+deb9u6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | check process apache2 with pidfile /var/run/apache2.pid
group www
start program = "/etc/init.d/apache2 start"
stop program = "/etc/init.d/apache2 stop"
if failed host localhost port 80
protocol HTTP request "/" then restart
if 5 restarts within 5 cycles then timeout
|