1
0
Fork 0
mirror of synced 2024-05-29 05:11:11 -04:00

Merge pull request #22 from abednarik/abednarik_debian_config

Updates logrotate.conf for Debian
This commit is contained in:
Forrest 2016-09-30 09:10:43 -07:00 committed by GitHub
commit 91127e933d

View file

@ -2,6 +2,12 @@
# rotate log files weekly # rotate log files weekly
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 # keep 4 weeks worth of backlogs
rotate 4 rotate 4