diff --git a/backup.sh b/backup.sh index dce6659..f22bf64 100755 --- a/backup.sh +++ b/backup.sh @@ -76,16 +76,8 @@ function cleanup { "nothing to cleanup" >> "$logFile" fi - ## Exit Seafile maintenance mode regardless of current status - ncMaint off - # check if successful - if [ "$maintResult" = "0" ]; then - echo -e "${info}[$(stamp)] -- [INFO] Seafile now in regular" \ - "operating mode --${normal}" >> "$logFile" - else - exitError+=("[$(stamp)]_101") - quit - fi + ## Restart Seafile services + svcSeafile start } ### scriptHelp -- display usage information for this script