summaryrefslogtreecommitdiff
path: root/debian/init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/init')
-rw-r--r--debian/init4
1 files changed, 2 insertions, 2 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 $?