Commit fe9e0ca5 authored by Dawn Chen's avatar Dawn Chen

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

parent 6d465c4d
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment