mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 15:45:59 +01:00
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:
18
conf/logrotate-sample
Normal file
18
conf/logrotate-sample
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user