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 ---
|
### --- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user