remove call to NCMaint, replace with svcSeafile

This commit is contained in:
Asif Bacchus 2019-05-19 00:50:42 -06:00
parent 75cae8c7e6
commit b87a8e7d7e

View File

@ -546,17 +546,8 @@ fi
### --- End 503 section --- ### --- End 503 section ---
### Put Seafile in maintenance mode ### Stop Seafile services
ncMaint on svcSeafile stop
# check if successful
if [ "$maintResult" = "0" ]; then
echo -e "${info}[$(stamp)] -- [INFO] Seafile now in maintenance mode --" \
"${normal}" >> "$logFile"
else
exitError+=("[$(stamp)]_100")
cleanup
quit
fi
### Get SQL info from sqlDetails ### Get SQL info from sqlDetails