Files
website/docs/admin/high-availability/monit-docker
T
johndmulhausen 6bd2f3f318 Squashed 'k8smain/' content from commit 719158d
git-subtree-dir: k8smain
git-subtree-split: 719158d2c8788c30cc9e1c51bbebb53c5801524e
2016-03-01 18:18:53 -08: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