summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2010-01-07 15:08:47 +0100
committerJulien Valroff <julien@kirya.net>2010-01-07 15:08:47 +0100
commita4d6cff7688e61634c4e990264f599c22ac8c3a3 (patch)
tree84ac2bef2419a7c186206e3e724e49e6d0fd3413
parente593378866f5f9cbf07589d82a2e1b8d8ca255f1 (diff)
Revert some of the previous changes
-rw-r--r--debian/init4
-rw-r--r--debian/templates2
2 files changed, 3 insertions, 3 deletions
diff --git a/debian/init b/debian/init
index 6f556b2..f1d0c26 100644
--- a/debian/init
+++ b/debian/init
@@ -18,7 +18,7 @@ RRD_DIR="/var/lib/mailgraph"
# Default values
BOOT_START=true
MAIL_LOG=/var/log/mail.log
-IGNORE_LOCALHOST=true
+IGNORE_LOCALHOST=false
EXTRA_OPTIONS=""
HTTP_USER=www-data
HTTP_GROUP=www-data
@@ -45,7 +45,7 @@ case "$1" in
log_action_cont_msg " already running"
log_end_msg 1
else
- start-stop-daemon --start --quiet --pidfile $PID_FILE --exec $DAEMON -- \
+ start-stop-daemon --start --quiet --background --pidfile $PID_FILE --exec $DAEMON -- \
--logfile $MAIL_LOG --daemon --daemon_pid=$PID_FILE \
--daemon_rrd=$RRD_DIR $IGNORE_OPTION $EXTRA_OPTIONS
log_end_msg $?
diff --git a/debian/templates b/debian/templates
index 13ce47f..c5a1ec6 100644
--- a/debian/templates
+++ b/debian/templates
@@ -16,7 +16,7 @@ _Description: Logfile used by mailgraph:
Template: mailgraph/ignore_localhost
Type: boolean
-Default: true
+Default: false
_Description: Count incoming mail as outgoing mail?
If you count incoming mail as outgoing mail (default), mail is counted more
than once if you use content filters like amavis, so you'll get wrong values.