Projet

Général

Profil

0001-debian-add-logrotate-settings-for-gunicorn-logs-fixe.patch

Benjamin Dauvergne, 28 avril 2016 18:21

Télécharger (2,87 ko)

Voir les différences:

Subject: [PATCH] debian: add logrotate settings for gunicorn logs (fixes
 #10767)

 debian-jessie/authentic2-multitenant.logrotate | 14 ++++++++++++++
 debian-jessie/authentic2.logrotate             | 14 ++++++++++++++
 debian-wheezy/authentic2-multitenant.logrotate | 14 ++++++++++++++
 debian-wheezy/authentic2.logrotate             | 14 ++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 debian-jessie/authentic2-multitenant.logrotate
 create mode 100644 debian-jessie/authentic2.logrotate
 create mode 100644 debian-wheezy/authentic2-multitenant.logrotate
 create mode 100644 debian-wheezy/authentic2.logrotate
debian-jessie/authentic2-multitenant.logrotate
1
/var/log/authentic2-multitenant/*.log {
2
	weekly
3
	missingok
4
	rotate 52
5
	compress
6
	delaycompress
7
	notifempty
8
	create 0640 authentic-multitenant adm
9
	sharedscripts
10
	postrotate
11
		[ ! -f /var/run/authentic2-multitenant/authentic2-multitenant.pid ] || kill -HUP `cat /var/run/authentic2-multitenant/authentic2-multitenant.pid`
12
	endscript
13
}
14

  
debian-jessie/authentic2.logrotate
1
/var/log/authentic2/*.log {
2
	weekly
3
	missingok
4
	rotate 52
5
	compress
6
	delaycompress
7
	notifempty
8
	create 0640 authentic adm
9
	sharedscripts
10
	postrotate
11
		[ ! -f /var/run/authentic2/authentic2.pid ] || kill -HUP `cat /var/run/authentic2/authentic2.pid`
12
	endscript
13
}
14

  
debian-wheezy/authentic2-multitenant.logrotate
1
/var/log/authentic2-multitenant/*.log {
2
	weekly
3
	missingok
4
	rotate 52
5
	compress
6
	delaycompress
7
	notifempty
8
	create 0640 authentic-multitenant adm
9
	sharedscripts
10
	postrotate
11
		[ ! -f /var/run/authentic2-multitenant/authentic2-multitenant.pid ] || kill -HUP `cat /var/run/authentic2-multitenant/authentic2-multitenant.pid`
12
	endscript
13
}
14

  
debian-wheezy/authentic2.logrotate
1
/var/log/authentic2/*.log {
2
	weekly
3
	missingok
4
	rotate 52
5
	compress
6
	delaycompress
7
	notifempty
8
	create 0640 authentic adm
9
	sharedscripts
10
	postrotate
11
		[ ! -f /var/run/authentic2/authentic2.pid ] || kill -HUP `cat /var/run/authentic2/authentic2.pid`
12
	endscript
13
}
14

  
0
-