Browse Source

Merge pull request #22 from abednarik/abednarik_debian_config

Updates logrotate.conf for Debian
master
Forrest 8 years ago
parent
commit
91127e933d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      logrotate/files/Debian/logrotate.conf

+ 6
- 0
logrotate/files/Debian/logrotate.conf View File

@@ -2,6 +2,12 @@
# rotate log files weekly
weekly

{% if grains['os'] == "Ubuntu" %}
# use the syslog group by default, since this is the owning group
# of /var/log/syslog.
su root syslog
{% endif %}

# keep 4 weeks worth of backlogs
rotate 4


Loading…
Cancel
Save