ansible/roles/rsyslog/files/logrotate

6 lines
160 B
Text

/var/log/all.log {
create 0640 root root
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}