Commit 7629b616 authored by Saad Ali's avatar Saad Ali

Merge pull request #5348 from dchen1107/docker

Check docker unixsocket periodically through monit. If failed, restart d...
parents 0c6cd215 fe9e0ca5
...@@ -3,4 +3,6 @@ group docker ...@@ -3,4 +3,6 @@ group docker
start program = "/etc/init.d/docker start" start program = "/etc/init.d/docker start"
stop program = "/etc/init.d/docker stop" stop program = "/etc/init.d/docker stop"
if does not exist then restart 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