remove call to NCMaint, replace with svcSeafile
This commit is contained in:
parent
75cae8c7e6
commit
b87a8e7d7e
13
backup.sh
13
backup.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user