mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
Check docker unixsocket periodically through monit. If failed, restart docker.
This commit is contained in:
parent
6d465c4d86
commit
fe9e0ca5ce
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user