stop seafile services if offline backup requested

This commit is contained in:
Asif Bacchus 2019-05-23 21:54:57 -06:00
parent 5c55002bb2
commit 2b8941da51

View File

@ -219,7 +219,10 @@ printf "${cyan}[%s] -- [INFO] Log located at ${yellow}%s${cyan} --${norm}\n" \
"$(stamp)" "$logFile" >> "$logFile" "$(stamp)" "$logFile" >> "$logFile"
### stop seahub and sefile service ### stop seahub and seafile service if offline backup requested
if [ "$offlineBackup" -eq 1 ]; then
seafSvc stop
fi