summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-01-17 19:43:14 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-01-17 19:43:14 -0800
commit71a31ff516ef63f5ce52ca1bca17e10497a6a15d (patch)
tree120bf12023e0afba63763a9012e5511563604342 /Makefile.am
parentbdcb00f49def04bde4fcd0e6cf3511c37f0a68b8 (diff)
downloadvyatta-cfg-system-71a31ff516ef63f5ce52ca1bca17e10497a6a15d.tar.gz
vyatta-cfg-system-71a31ff516ef63f5ce52ca1bca17e10497a6a15d.zip
Bugfix 6668: Check to see if log files need rotation hourly.
Previously, log file rotation was checked by cron daily. Some log file -- such as those generated by PPP -- can grow rapidly. Such infrequent checking can lead to running out of disk space on systems with small disk drives or flash storage. This change checks for rotation hourly.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ee53e446..501c8005 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -99,6 +99,9 @@ udevrulesdir = /lib/udev/rules.d
libudev_SCRIPTS = scripts/vyatta_net_name
udevrules_DATA = sysconf/65-vyatta-net.rules
+cronhourlydir = /etc/cron.hourly
+cronhourly_SCRIPTS = sysconf/vyatta-logrotate-hourly
+
rsyslogdir = /etc/rsyslog.d
rsyslog_DATA = sysconf/vyatta-log.conf