You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
puppet/SOURCES/logrotate

22 lines
595 B

# Generic logrotate config for Red Hat systems. Works with both official
# Fedora and RHEL packages as well as PuppetLabs distributions.
/var/log/puppetlabs/masterhttp.log /var/log/puppet/masterhttp.log {
compress
missingok
notifempty
nocreate
}
/var/log/puppetlabs/puppetd.log /var/log/puppet/puppetd.log {
compress
missingok
notifempty
nocreate
sharedscripts
postrotate
([ -x /etc/init.d/puppet ] && /etc/init.d/puppet rotate > /dev/null 2>&1) ||
([ -x /usr/bin/systemctl ] && /usr/bin/systemctl kill -s USR2 puppet.service > /dev/null 2>&1) || true
endscript
}