forked from Spark/ssm-services
16 lines
286 B
Plaintext
Executable File
16 lines
286 B
Plaintext
Executable File
#!/usr/bin/env watchman
|
|
|
|
docker_dir='/home/docker'
|
|
|
|
#service_respawn='true'
|
|
service_command='/usr/bin/docker'
|
|
service_args="-g ${docker_dir} -d"
|
|
|
|
update() {
|
|
watchman.stop && {
|
|
wget "https://get.docker.io/builds/Linux/x86_64/docker-latest" -O "$service_command"
|
|
}
|
|
|
|
watchman.start
|
|
}
|