Skip to content

Commit

Permalink
dont create the pid file in start-stop-daemon since docker does that …
Browse files Browse the repository at this point in the history
…itself now
  • Loading branch information
nlf committed Feb 6, 2016
1 parent 63eef41 commit d8ecfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/init.d/S51docker
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ start() {
mount -t cgroup -o $i none /sys/fs/cgroup/$i
done

start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/docker.pid \
start-stop-daemon --start --quiet --background --pidfile /var/run/docker.pid \
--startas /bin/sh -- -c "exec /usr/bin/docker daemon $DOCKER_ARGS >/var/log/docker.log 2>&1"
[ $? = 0 ] && echo "OK" || echo "FAIL"
}
Expand Down

0 comments on commit d8ecfd8

Please sign in to comment.