Browse Source

Merge pull request #4879 from gorsuch/exec-upstart

Use "exec" in the upstart script to let upstart manage the docker process instead of a shell
Tianon Gravi 11 năm trước cách đây
mục cha
commit
db20cb0e1a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      contrib/init/upstart/docker.conf

+ 1 - 1
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