~gnuoy/charms/precise/apache2/apache2-openid

« back to all changes in this revision

Viewing changes to data/logrotate.conf.template

  • Committer: Marco Ceppi
  • Date: 2013-10-17 03:21:15 UTC
  • mfrom: (27.2.55 master)
  • Revision ID: marco@ceppi.net-20131017032115-iwu78y9cgqwi3a5s
[sidnei] Greatly improved test coverage. Support for 'all_services' set from haproxy relation. Improved documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        compress
11
11
        delaycompress
12
12
        notifempty
 
13
{%- if use_rsyslog %}
 
14
        create 640 syslog adm
 
15
        sharedscripts
 
16
        postrotate
 
17
                reload rsyslog >/dev/null 2>&1 || true
 
18
        endscript
 
19
{%- else %}
13
20
        create 640 root adm
14
21
        sharedscripts
15
22
        postrotate
20
27
                        run-parts /etc/logrotate.d/httpd-prerotate; \
21
28
                fi; \
22
29
        endscript
 
30
{%- endif %}
23
31
}