debian: add logrotate settings for gunicorn logs (fixes #10767)
This commit is contained in:
parent
d802632182
commit
549898eba7
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue