mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 19:19:52 +00:00
19 lines
391 B
Text
19 lines
391 B
Text
/home/melpa/log/melpa*.log {
|
|
daily
|
|
create 0640 melpa melpa
|
|
compress
|
|
dateext
|
|
missingok
|
|
missingok
|
|
notifempty
|
|
rotate 36500
|
|
sharedscripts
|
|
prerotate
|
|
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
|
|
run-parts /etc/logrotate.d/httpd-prerotate; \
|
|
fi; \
|
|
endscript
|
|
postrotate
|
|
[ ! -f /home/melpa/var/run/nginx.pid ] || kill -USR1 `cat /home/melpa/var/run/nginx.pid`
|
|
endscript
|
|
}
|