remove call to NCMaint, replace with svcSeafile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user