File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ start() {
2020 --pidfile "$DOCKER_PIDFILE" \
2121 --stdout "$DOCKER_LOGFILE" \
2222 --stderr "$DOCKER_LOGFILE" \
23- -- -d -p "$DOCKER_PIDFILE" \
23+ -- daemon -p "$DOCKER_PIDFILE" \
2424 $DOCKER_OPTS
2525 eend $?
2626}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ After=network.target docker.socket
55Requires =docker.socket
66
77[Service]
8- ExecStart =/usr/bin/docker -d -H fd://
8+ ExecStart =/usr/bin/docker daemon -H fd://
99MountFlags =slave
1010LimitNOFILE =1048576
1111LimitNPROC =1048576
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ case "$1" in
107107 --pidfile " $DOCKER_SSD_PIDFILE " \
108108 --make-pidfile \
109109 -- \
110- -d -p " $DOCKER_PIDFILE " \
110+ daemon -p " $DOCKER_PIDFILE " \
111111 $DOCKER_OPTS \
112112 >> " $DOCKER_LOGFILE " 2>&1
113113 log_end_msg $?
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ start() {
4949 prestart
5050 printf " Starting $prog :\t"
5151 echo " \n$( date) \n" >> $logfile
52- " $unshare " -m -- $exec -d $other_args & >> $logfile &
52+ " $unshare " -m -- $exec daemon $other_args & >> $logfile &
5353 pid=$!
5454 touch $lockfile
5555 # wait up to 10 seconds for the pidfile to exist. see
Original file line number Diff line number Diff line change 22#
33# Other arguments to pass to the docker daemon process
44# These will be parsed by the sysv initscript and appended
5- # to the arguments list passed to docker -d
5+ # to the arguments list passed to docker daemon
66
77other_args=""
Original file line number Diff line number Diff line change 3939 if [ -f /etc/default/$UPSTART_JOB ]; then
4040 . /etc/default/$UPSTART_JOB
4141 fi
42- exec "$DOCKER" -d $DOCKER_OPTS
42+ exec "$DOCKER" daemon $DOCKER_OPTS
4343end script
4444
4545# Don't emit "started" event until docker.sock is ready.
You can’t perform that action at this time.
0 commit comments