2019-06-25 Fred Gleason <fredg@paravelsystems.com>

* Added a sample syslog.conf(5) snippet in 'conf/syslog.conf-sample'.
	* Added a sample logrotate(5) snippet in 'conf/logrotate-sample'.
This commit is contained in:
Fred Gleason
2019-06-25 16:47:11 -04:00
parent ac4d9305bc
commit 45076b0557
5 changed files with 51 additions and 3 deletions

18
conf/logrotate-sample Normal file
View File

@@ -0,0 +1,18 @@
#
# This defines the rotation rules for the Rivendell syslogs.
#
/var/log/rivendell/operations
/var/log/rivendell/debug
{
missingok
daily
rotate 30
maxage 30
dateext
dateyesterday
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}