Commit 03fc45c8 authored by Eric's avatar Eric

configuration par defaut de logrotate

parent bad9f09f
/var/log/nginx/*.log {
monthly
missingok
rotate 12
compress
delaycompress
notifempty
create 0640 www-data adm
sharedscripts
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
run-parts /etc/logrotate.d/httpd-prerotate; \
fi \
endscript
postrotate
invoke-rc.d nginx rotate >/dev/null 2>&1
endscript
}
"/var/log/uwsgi/*.log" "/var/log/uwsgi/app/*.log" {
copytruncate
monthly
rotate 12
compress
delaycompress
missingok
notifempty
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment