Change $prog back to docker in sysvinit-redhat

(and set $exec to dockerd instead)

This ensures end users do not need to make any configuration changes
due to the rename from docker to dockerd in version 1.12.

Signed-off-by: Paul Furtado <pfurtado@hubspot.com>
(cherry picked from commit acb41ddc9d)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Paul Furtado 2016-07-14 16:18:42 -04:00 committed by Tibor Vass
parent 4516769d50
commit 25caee39a7

View file

@ -22,9 +22,9 @@
# Source function library.
. /etc/rc.d/init.d/functions
prog="dockerd"
prog="docker"
unshare=/usr/bin/unshare
exec="/usr/bin/$prog"
exec="/usr/bin/dockerd"
pidfile="/var/run/$prog.pid"
lockfile="/var/lock/subsys/$prog"
logfile="/var/log/$prog"