diff options
author | Julien Valroff <julien@kirya.net> | 2010-01-07 14:43:59 +0100 |
---|---|---|
committer | Julien Valroff <julien@kirya.net> | 2010-01-07 14:43:59 +0100 |
commit | 323beb75f5478f1249752f37fe3f54b4deba48f5 (patch) | |
tree | b527eac91376961b203ec8b9848ee4231e6257b8 /debian | |
parent | 8d8c0db516739b6f1a0086975fa6010c5908a88b (diff) |
Fix minor issues
Diffstat (limited to 'debian')
-rw-r--r-- | debian/default | 4 | ||||
-rw-r--r-- | debian/init | 4 | ||||
-rw-r--r-- | 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. |