1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib/init
Matthias Rampke 01c5cfcc56 Do not try to guess "docker" in Debian SysV init script
On boot, the init script is invoked from `/etc/rcN.d/S20docker` (where N
is the runlevel). Consequently, the init script tried to find the
defaults at `/etc/defaults/S20docker` and the binary at
`/usr/bin/S20docker`. This causes the docker daemon to fail at boot with
the error

    /usr/bin/S20docker not present or not executable

Starting it manually works because it invokes `/etc/init.d/docker` which
has the correct basename.

Fix this by hardcoding "docker" as the base name.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2015-09-23 11:27:34 +00:00
..
openrc Fix OpenRC init script 2015-08-25 12:02:01 -05:00
systemd systemd: set service type to notify. 2015-07-29 14:02:12 +01:00
sysvinit-debian Do not try to guess "docker" in Debian SysV init script 2015-09-23 11:27:34 +00:00
sysvinit-redhat Merge pull request #14868 from jeffminard-ck/rhel-init-detect-failure 2015-08-24 14:24:36 -07:00
upstart Update init scripts to use docker daemon. 2015-07-22 11:24:38 -07:00