From 19bf359da495f6c0b9e47362791ff469a638da59 Mon Sep 17 00:00:00 2001 From: clime Date: Mon, 4 Dec 2017 16:12:03 +0100 Subject: [PATCH] copr-backend: log out/err of logrotate prerotate script --- roles/copr/backend/files/logrotate/lighttpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/files/logrotate/lighttpd b/roles/copr/backend/files/logrotate/lighttpd index 92906fff5e..fc77db2c89 100644 --- a/roles/copr/backend/files/logrotate/lighttpd +++ b/roles/copr/backend/files/logrotate/lighttpd @@ -4,7 +4,7 @@ missingok notifempty prerotate - /usr/bin/copr_log_hitcounter.py /var/log/lighttpd/access.log &>/dev/null || : + /usr/bin/copr_log_hitcounter.py /var/log/lighttpd/access.log &>/var/log/copr-backend/hitcounter-logrotate.log endscript postrotate /usr/bin/killall -HUP lighttpd &>/dev/null || :