stop seafile services if offline backup requested
This commit is contained in:
parent
5c55002bb2
commit
2b8941da51
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user