]> git.phdru.name Git - ansible.git/blob - playbooks/roles/debian/apache/files/apache2
Refactor: Move OS-specific roles under common `roles/`
[ansible.git] / playbooks / roles / debian / apache / files / apache2
1 /var/log/apache2/*.log
2 /var/log/apache2/*/*.log
3 {
4         daily
5         missingok
6         rotate 14
7         compress
8         delaycompress
9         notifempty
10         create 640 root adm
11         sharedscripts
12         postrotate
13                 if invoke-rc.d apache2 status > /dev/null 2>&1; then \
14                     invoke-rc.d apache2 reload > /dev/null 2>&1; \
15                 fi;
16         endscript
17         prerotate
18                 if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
19                         run-parts /etc/logrotate.d/httpd-prerotate; \
20                 fi; \
21         endscript
22 }