summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/default4
-rw-r--r--debian/init4
-rw-r--r--debian/templates1
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.