From 85b219a90de4b8e5af9dc32d827b1799708d7319 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 25 May 2019 01:59:49 -0600 Subject: [PATCH] add log message on seafile service stop --- backup_new.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backup_new.sh b/backup_new.sh index 145576f..15ac2e7 100755 --- a/backup_new.sh +++ b/backup_new.sh @@ -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