From 73ee4879afd557a3ddd0740b0a281024060f2436 Mon Sep 17 00:00:00 2001 From: Michael Gorsuch Date: Thu, 27 Mar 2014 12:44:33 -0500 Subject: [PATCH] upstart: use exec here so upstart can monitor the process and not just a shell Docker-DCO-1.1-Signed-off-by: Michael Gorsuch (github: gorsuch) --- contrib/init/upstart/docker.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/init/upstart/docker.conf b/contrib/init/upstart/docker.conf index 907a536c9c..e27d77e145 100644 --- a/contrib/init/upstart/docker.conf +++ b/contrib/init/upstart/docker.conf @@ -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