ssm-services/init.d/docker

13 lines
218 B
Plaintext
Raw Normal View History

#!/usr/bin/env ssm
2014-02-22 14:32:37 +00:00
#service_respawn='true'
service_command=( '/usr/bin/dockerd' -s overlay2 )
2014-02-22 14:32:37 +00:00
update() {
stop && {
2014-02-22 14:32:37 +00:00
wget "https://get.docker.io/builds/Linux/x86_64/docker-latest" -O "$service_command"
}
start
2014-02-22 14:32:37 +00:00
}