Bug#224506: [Pkg-awstats-devel] Bug#224506: cronjob: locking, conf/logfile checking

Arne Rusek arne.rusek at technologico.cz
Thu Feb 22 00:48:08 CET 2007


Mon, Feb 05, 2007 at 05:24:36PM +0100, Jonas Smedegaard napsal:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Arne Rusek wrote:
> 
> > I wrote myself a awstats cron wrapper which should solve at least three
> > bugreports on awstats :-)
> > 
> > It does:
> >   * locking: no more than one instance -- one configuration -- will run
> > 	* config checking: check required config file (and included confs)
> > 	* check that required logfile is available
> > 	* should work out of the box when run from /etc/cron.d/awstats
> > 	* it also makes awstats more nice :-)
> > 
> > If it's of any use, please include it into the awstats package and run
> > from cron. Questions, comments, suggestions and complains are welcomed
> > as always.
> 
> 
> Hope I am not too hard on you :-)
No, I'm not offended at all. I'm working on improovments :) Anyway the
config file testing section is useless, I thought it's needed but amavis
handles the condition finely.

I'm just too busy right now... I'll email it later

> Charles Fry wrote:
> > Also, could you suggest where the script should be installed? /usr/sbin?
> > 
> > And named? awstats-run?
> 
> (Please let's work in the open, Charles!)
> 
> I agree with /usr/sbin as location.
> 
> I suggest calling it update-awstats, to follow the trend of other
> update-* scripts.
> 
> 
> 
> But I feel that it need more work to be usable. Seems too risky to me to
> apply by default as is.
> 
> 
>  - Jonas
> 
> - --
> * Jonas Smedegaard - idealist og Internet-arkitekt
> * Tlf.: +45 40843136  Website: http://dr.jones.dk/
> 
>  - Enden er nær: http://www.shibumi.org/eoti.htm
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFFx1pDn7DbMsAkQLgRAtIxAJ99b3m8COdxSVbyvEQ3ySQF26PhfACeNFwG
> M76x3a0J5kDSwyMX6dPsSuA=
> =P4kT
> -----END PGP SIGNATURE-----
> 




More information about the Pkg-awstats-devel mailing list