debian: add logrotate settings for gunicorn logs (fixes #10767)

This commit is contained in:
Benjamin Dauvergne 2016-04-28 18:19:46 +02:00
parent d802632182
commit 549898eba7
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,14 @@
/var/log/authentic2-multitenant/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 0640 authentic-multitenant adm
sharedscripts
postrotate
[ ! -f /var/run/authentic2-multitenant/authentic2-multitenant.pid ] || kill -HUP `cat /var/run/authentic2-multitenant/authentic2-multitenant.pid`
endscript
}

View File

@ -0,0 +1,14 @@
/var/log/authentic2/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 0640 authentic adm
sharedscripts
postrotate
[ ! -f /var/run/authentic2/authentic2.pid ] || kill -HUP `cat /var/run/authentic2/authentic2.pid`
endscript
}

View File

@ -0,0 +1,14 @@
/var/log/authentic2-multitenant/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 0640 authentic-multitenant adm
sharedscripts
postrotate
[ ! -f /var/run/authentic2-multitenant/authentic2-multitenant.pid ] || kill -HUP `cat /var/run/authentic2-multitenant/authentic2-multitenant.pid`
endscript
}

View File

@ -0,0 +1,14 @@
/var/log/authentic2/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 0640 authentic adm
sharedscripts
postrotate
[ ! -f /var/run/authentic2/authentic2.pid ] || kill -HUP `cat /var/run/authentic2/authentic2.pid`
endscript
}