Files
kubernetes/release-0.19.0/docs/high-availability/monit-docker
2015-06-10 09:23:42 -07:00

9 lines
273 B
Plaintext

check process docker with pidfile /var/run/docker.pid
group docker
start program = "/etc/init.d/docker start"
stop program = "/etc/init.d/docker stop"
if does not exist then restart
if failed
unixsocket /var/run/docker.sock
protocol HTTP request "/version"
then restart