upstart: use exec here so upstart can monitor the process and not just a shell

Docker-DCO-1.1-Signed-off-by: Michael Gorsuch <michael.gorsuch@gmail.com> (github: gorsuch)
This commit is contained in:
Michael Gorsuch 2014-03-27 12:44:33 -05:00
parent 79e8ef28e4
commit 73ee4879af

View file

@ -37,5 +37,5 @@ script
if [ -f /etc/default/$UPSTART_JOB ]; then
. /etc/default/$UPSTART_JOB
fi
"$DOCKER" -d $DOCKER_OPTS
exec "$DOCKER" -d $DOCKER_OPTS
end script