Le Sunday 17 May 2009 22:55:14 Barry deFreese, vous avez écrit :
Hi,
I have a new release packaged up but I'm having some problems with the
init script. Any help would be greatly appreciated.
http://people.debian.org/~bdefreese/amavis-stats/
Thanks,
Barry deFreese
Debian QA
Hello,
For the good part : the graphs work !
The bad part is, as you says, the init script.
It the pid file is not created at start.
The defaut in amavis-stats.conf is not good, I changed it to :
$pid_file = "/var/run/amavis-stats.pid"; # (default is
"$MYHOME/amavis-stats.pid")
But, amavis-stats does not create it either... Amavis-stats perl script must
be debugged...
I also saw that by defaut, amavis-stats is running with www-data user. I had
to change the ownership of /var/lib/amavis-stats*.
And also, www-data cannot read /var/log/mail.log...