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
Rob Vesse f8387f6904 Fix silent failure in RedHat sysvinit script
The docker script in contrib/init/sysvinit-redhat will fail silently on
a start if Docker is not installed in the default /usr/bin/ location.
While a non-zero exit code is returned the user will receive no visible
indication (i.e. error message) as to why Docker was not started.

This commit changes the logic so that in the case that the docker
executable is not found in the expected location or the user does not
have execute permissions on the executable appropriate error messages
are now shown to the user as well as exiting with a non-zero exit code

Signed-off-by: Rob Vesse <rvesse@dotnetrdf.org>
2015-08-06 12:07:38 +01:00
..
openrc Update init scripts to use docker daemon. 2015-07-22 11:24:38 -07:00
systemd systemd: set service type to notify. 2015-07-29 14:02:12 +01:00
sysvinit-debian Update init scripts to use docker daemon. 2015-07-22 11:24:38 -07:00
sysvinit-redhat Fix silent failure in RedHat sysvinit script 2015-08-06 12:07:38 +01:00
upstart Update init scripts to use docker daemon. 2015-07-22 11:24:38 -07:00