Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/docker_original.init b/docker.init
- index 2e8eb9e..1a1ec80 100644
- --- a/docker_original.init
- +++ b/docker.init
- @@ -22,7 +22,7 @@
- # Source function library.
- . /etc/init.d/functions
- -prog="docker"
- +prog="dockerd"
- unshare=/usr/bin/unshare
- exec="/usr/bin/$prog"
- pidfile="/var/run/$prog.pid"
- @@ -40,7 +40,7 @@ start() {
- if ! [ -f $pidfile ]; then
- printf "Starting $prog:\t"
- echo -e "\n$(date)\n" >> $logfile
- - "$unshare" -m -- $exec daemon $other_args &>> $logfile &
- + "$unshare" -m -- $exec $other_args &>> $logfile &
- pid=$!
- touch $lockfile
- # wait up to 10 seconds for the pidfile to exist. see
Advertisement
Add Comment
Please, Sign In to add comment