mirror of
https://github.com/correl/melpa.git
synced 2024-12-24 11:50:42 +00:00
20 lines
391 B
Text
20 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
|
||
|
}
|