16 lines
288 B
Plaintext
Raw Normal View History

2014-02-22 18:32:37 +04:00
#!/usr/bin/env watchman
docker_dir='/home/docker'
#service_respawn='true'
2015-06-18 12:38:49 +03:00
service_command='/usr/bin/docker'
2015-09-04 16:47:37 +03:00
service_args=( -g "$docker_dir" -d )
2014-02-22 18:32:37 +04:00
update() {
watchman.stop && {
wget "https://get.docker.io/builds/Linux/x86_64/docker-latest" -O "$service_command"
}
watchman.start
}