From dead94ec995c4b7744927d949e839197b0027ddc Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 17 Jan 2011 19:43:14 -0800 Subject: 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. (cherry picked from commit 71a31ff516ef63f5ce52ca1bca17e10497a6a15d) (cherry picked from commit 507d28da53a8a40ef70a23031d06a2ec823fef64) --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') 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 -- cgit v1.2.3