From 6472557f6d66fdd700055fc695731ec38a06291e Mon Sep 17 00:00:00 2001 From: Nam Tran Date: Tue, 21 Jan 2020 14:23:56 -0600 Subject: [PATCH] pull script should write to logfile --- sites/005-hugo-extended/git-auto-pull/pull.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/005-hugo-extended/git-auto-pull/pull.sh b/sites/005-hugo-extended/git-auto-pull/pull.sh index 1c69e25..f073af7 100644 --- a/sites/005-hugo-extended/git-auto-pull/pull.sh +++ b/sites/005-hugo-extended/git-auto-pull/pull.sh @@ -3,7 +3,7 @@ set -e LOG=/var/log/pull.log touch $LOG echo `date`": start pulling" >> $LOG -cd /repo && git pull +cd /repo && git pull >> $LOG 2>&1 echo `date`": done" >> $LOG