add log message on seafile service stop

This commit is contained in:
Asif Bacchus 2019-05-25 01:59:49 -06:00
parent e798f10e50
commit 85b219a90d

View File

@ -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