mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a3ab89df2b
This sets up an idiomatic Go workspace in /opt/go with the source shared from the host directory in /opt/go/src/github.com/dotcloud/docker and docker installed into /opt/go
12 lines
326 B
Text
12 lines
326 B
Text
description "Run dockerd"
|
|
|
|
stop on runlevel [!2345]
|
|
start on runlevel [3]
|
|
|
|
# if you want it to automatically restart if it crashes, leave the next line in
|
|
respawn
|
|
|
|
script
|
|
test -f /etc/default/locale && . /etc/default/locale || true
|
|
LANG=$LANG LC_ALL=$LANG /opt/go/bin/docker -d >> /var/log/dockerd 2>&1
|
|
end script
|