puppetlabs-puppet/conf/redhat/logrotate

10 строки
290 B
Plaintext

/var/log/puppet/*log {
missingok
create 0644 puppet puppet
sharedscripts
postrotate
[ -e /etc/init.d/puppetmaster ] && /etc/init.d/puppetmaster condrestart >/dev/null 2>&1 || true
[ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1 || true
endscript
}