Files
kubernetes/cluster/saltbase/salt/monit/docker

9 lines
275 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