Package: mailgraph
Version: 1.14-1.2
Severity: wishlist
Tags: patch
Giving explicitely the PID_FILE to the mailgraph commnad in init.d
script could be a good idea. Here it will helps running too mailgraph
with less modifications as this can be overriden by default/mailgraph.
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set
to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mailgraph depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii libfile-tail-perl 0.99.3-3 File::Tail perl module
ii librrds-perl 1.3.1-4 Time-series data storage and displ
Versions of packages mailgraph recommends:
ii apache2-mpm-prefork [httpd] 2.2.11-1 Apache HTTP Server - traditional n
mailgraph suggests no packages.
--- /etc/init.d/mailgraph.orig 2008-12-15 12:41:33.000000000 +0100
+++ /etc/init.d/mailgraph 2008-12-15 12:42:30.000000000 +0100
@@ -35,7 +35,7 @@
case "$1" in
start)
echo -n "Starting Postfix Mail Statistics: $NAME"
- start-stop-daemon -S -q -b -p $PID_FILE -x $DAEMON -- -l $MAIL_LOG -d --daemon_rrd=$RRD_DIR $IGNORE_OPTION
+ start-stop-daemon -S -q -b -p $PID_FILE -x $DAEMON -- -l $MAIL_LOG -d --daemon_pid=$PID_FILE --daemon_rrd=$RRD_DIR $IGNORE_OPTION
echo "."
;;
stop)