From 7cb2a0e8ab3d2db6bc74c525f3ba057fbcd537a1 Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 16 Dec 2020 22:13:01 +0100 Subject: Make cron job silent and expose gitdaemon --- roles/stagit/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/stagit/tasks/main.yml b/roles/stagit/tasks/main.yml index 9144d81..33a26be 100644 --- a/roles/stagit/tasks/main.yml +++ b/roles/stagit/tasks/main.yml @@ -57,7 +57,7 @@ cron: name: "Static git-page generation" minute: "*/5" - job: "cd /var/www/htdocs/stagit && ./generate-static-git.sh" + job: "cd /var/www/htdocs/stagit && ./generate-static-git.sh >/dev/null 2>&1" - name: execute static-page generation script once shell: ./generate-static-git.sh -- cgit v1.2.3