Fixed missing update to status file
Fixed a bug where the init script failed to update the status of the service to INIT when the host is not connectable, but a local version is found.
This commit is contained in:
parent
c893f77e04
commit
eb4d9593b8
@ -77,6 +77,7 @@ else # if get.5e.tools is not accessible
|
||||
then
|
||||
echo " === Version file found: $(cat /usr/local/apache2/htdocs/version)"
|
||||
echo " === Starting!"
|
||||
echo "INIT" > /status
|
||||
else
|
||||
echo " === No version file found! You must be able to access $HOST to grab the 5eTools files."
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user