[Pkg-awstats-devel] Bug#590074: Bug#590074: Bug#590074: awstats: DO NOT use cron scripts to update stats database
Jonas Smedegaard
jonas at jones.dk
Fri Jul 23 16:03:23 UTC 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-awstats-devel/attachments/20100723/987e7cbe/attachment.pgp>
More information about the Pkg-awstats-devel
mailing list