summaryrefslogtreecommitdiff
path: root/debian/init
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2010-01-06 20:45:11 +0100
committerJulien Valroff <julien@kirya.net>2010-01-06 20:45:11 +0100
commitcc0712f26b594e7f9815de236da5c94f36daf8c0 (patch)
treedb03686f8baaf0d08ffa7f448a9588d77dc0e31c /debian/init
parent359a73f4842b49120014c0b2bf69d740d43a8a89 (diff)
Complete rewrite of the postinst script
Diffstat (limited to 'debian/init')
-rw-r--r--debian/init3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/init b/debian/init
index 958b8f9..8a4a7be 100644
--- a/debian/init
+++ b/debian/init
@@ -15,12 +15,13 @@ DAEMON="/usr/sbin/mailgraph"
PID_FILE="/var/run/mailgraph.pid"
RRD_DIR="/var/lib/mailgraph"
IGNORE_OPTION=""
+MAIL_LOG="/var/log/mail.log"
if [ -f $MAILGRAPH_CONFIG ]; then
. $MAILGRAPH_CONFIG
else
exit 0
-fi
+fi
test -x $DAEMON || exit 0