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
1 changed files with 4 additions and 0 deletions

View File

@ -293,7 +293,11 @@ fi
### stop seahub and seafile service if offline backup requested
if [ "$offlineBackup" -eq 1 ]; then
printf "${cyan}[%s] -- [INFO] Stopping seafile services --${norm}\n" \
"$(stamp)" >> "$logFile"
seafSvc stop
printf "${ok}[%s] -- [SUCCESS] Seafile services STOPPED --${norm}\n" \
"$(stamp)" >> "$logFile"
fi