add log message on seafile service stop
This commit is contained in:
parent
e798f10e50
commit
85b219a90d
@ -293,7 +293,11 @@ fi
|
|||||||
|
|
||||||
### stop seahub and seafile service if offline backup requested
|
### stop seahub and seafile service if offline backup requested
|
||||||
if [ "$offlineBackup" -eq 1 ]; then
|
if [ "$offlineBackup" -eq 1 ]; then
|
||||||
|
printf "${cyan}[%s] -- [INFO] Stopping seafile services --${norm}\n" \
|
||||||
|
"$(stamp)" >> "$logFile"
|
||||||
seafSvc stop
|
seafSvc stop
|
||||||
|
printf "${ok}[%s] -- [SUCCESS] Seafile services STOPPED --${norm}\n" \
|
||||||
|
"$(stamp)" >> "$logFile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user