On Fri, Jul 23, 2010 at 02:57:43PM +0100, Ximin Luo wrote:
On 23/07/10 14:31, Jonas Smedegaard wrote:I suggest to a) split the current cron job into infrequent and frequent jobs, b) make the frequent one optional (ideally through debconf), and c) invoke the infrequent job also (or instead?) as a logrotate hook.How does that sound?Yeah, that works. Though looking at the current script, there's not really much need to split it up.The main problem is to do the logrotate hook itself - ideally you'd add it directly to the webserver entry rather than a new awstats entry. Is that going to be a pain - editing another package's configuration files? I dunno what infrastructure / policy Debian has for this sort of thing.
Ah, yes. That was it: Not doable!Or more accurately: It needs implemented in webserver packages that this awstats package can hook into - not doable in awstats alone.
- Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature

