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 ---
### Put Seafile in maintenance mode
ncMaint on
# 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
### Stop Seafile services
svcSeafile stop
### Get SQL info from sqlDetails