From b87a8e7d7e9e4da459bacb2ef0c7e97352deb0ed Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 19 May 2019 00:50:42 -0600 Subject: [PATCH] remove call to NCMaint, replace with svcSeafile --- backup.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/backup.sh b/backup.sh index 693e61e..a3b8754 100755 --- a/backup.sh +++ b/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