Check docker unixsocket periodically through monit. If failed, restart docker.

This commit is contained in:
Dawn Chen 2015-03-11 16:45:32 -07:00
parent 6d465c4d86
commit fe9e0ca5ce

View File

@ -3,4 +3,6 @@ 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