From 323beb75f5478f1249752f37fe3f54b4deba48f5 Mon Sep 17 00:00:00 2001 From: Julien Valroff Date: Thu, 7 Jan 2010 14:43:59 +0100 Subject: Fix minor issues --- debian/default | 4 ++-- debian/init | 4 ++-- debian/templates | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/default b/debian/default index 16f1e33..fa77519 100644 --- a/debian/default +++ b/debian/default @@ -14,8 +14,8 @@ MAIL_LOG=/var/log/mail.log IGNORE_LOCALHOST=true # Extra options to be passed to mailgraph daemon -# See mailgraph -h output (no default) -EXTRA_OPTIONS= +# See mailgraph -h output (default: "") +EXTRA_OPTIONS="" # User and group http daemon runs as (default: www-data for both options) # Restart mailgraph daemon so that these values are taken into account diff --git a/debian/init b/debian/init index 2774f79..6f556b2 100644 --- a/debian/init +++ b/debian/init @@ -19,7 +19,7 @@ RRD_DIR="/var/lib/mailgraph" BOOT_START=true MAIL_LOG=/var/log/mail.log IGNORE_LOCALHOST=true -EXTRA_OPTIONS= +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 --background --pidfile $PID_FILE --exec $DAEMON -- \ + start-stop-daemon --start --quiet --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 788f57e..13ce47f 100644 --- a/debian/templates +++ b/debian/templates @@ -1,5 +1,6 @@ Template: mailgraph/start_on_boot Type: boolean +Default: true _Description: Should Mailgraph start on boot? Mailgraph can start on boot time as a daemon. Then it will monitor your Postfix logfile for changes. This is recommended. -- cgit v1.2.3