copr-backend: log out/err of logrotate prerotate script

This commit is contained in:
clime 2017-12-04 16:12:03 +01:00
parent 965e228594
commit 19bf359da4

View file

@ -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 || :