ssm-services/services/docker
fbt eea04dff95 Be more conservative about respawn
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-08 02:34:49 +03:00

12 lines
194 B
Plaintext
Executable File

#!/usr/bin/env ssm
service_command=( '/usr/bin/dockerd' -s overlay2 )
update() {
stop && {
wget "https://get.docker.io/builds/Linux/x86_64/docker-latest" -O "$service_command"
}
start
}