copr-backend: log out/err of logrotate prerotate script
This commit is contained in:
parent
965e228594
commit
19bf359da4
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
prerotate
|
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
|
endscript
|
||||||
postrotate
|
postrotate
|
||||||
/usr/bin/killall -HUP lighttpd &>/dev/null || :
|
/usr/bin/killall -HUP lighttpd &>/dev/null || :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue