On Tue, 2006-02-21 at 07:35 -0600, Mike McGrath wrote: > I'm still open to discussion on this but I'm not convinced that the > yum method is best to be used with Cacti. I've decided to leave the > cron script in /etc/cron.d/ and simply comment out the line that > causes it to run by default. > > I just think the "dual enable" thing is a little odd. In order for it > to run it has to be started and be placed in cron. Also (being real > strict here) the Yum method goes against FHS. The requrements for a > pid file in /var/run require a PID. Since cron starts the poller > regularly it starts and stops and the PID of it would change > reqularly. > > http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA umm - when did anyone say yum put a pid file in /var/run? lockfile=/var/lock/subsys/yum RETVAL=0 start() { echo -n $"Enabling nightly yum update: " touch "$lockfile" && success || failure RETVAL=$? echo } -sv -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list