mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +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:
@@ -29,9 +29,11 @@ uninstall:
|
||||
rm -f $(DESTDIR)/etc/pam.d/rivendell
|
||||
|
||||
EXTRA_DIST = asound.conf-sample\
|
||||
logrotate-sample\
|
||||
rd-bin.conf.in\
|
||||
rd.conf-sample\
|
||||
rivendell.pam
|
||||
rivendell.pam\
|
||||
syslog.conf-sample
|
||||
|
||||
CLEANFILES = *~
|
||||
DISTCLEANFILES = rdfeed.conf
|
||||
|
||||
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
|
||||
}
|
||||
16
conf/syslog.conf-sample
Normal file
16
conf/syslog.conf-sample
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# This is the syslog configuration file for Rivendell.
|
||||
#
|
||||
# After making changes to this file, do:
|
||||
#
|
||||
# systemctl restart rsyslog
|
||||
#
|
||||
# to make them effective.
|
||||
#
|
||||
|
||||
LOCAL7.INFO /var/log/rivendell/operations
|
||||
|
||||
#
|
||||
# Uncomment this line to enable debugging messages
|
||||
#
|
||||
# LOCAL7.DEBUG /var/log/rivendell/debug
|
||||
Reference in New Issue
Block a user