From 9a1129c0c1c00ddcbcb71561ed209277968bc7f2 Mon Sep 17 00:00:00 2001 From: Steve Schnepp Date: Fri, 20 Jan 2012 12:05:02 +0100 Subject: [PATCH] Providing a way to change the state file --- plugins/other/dovecot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/other/dovecot b/plugins/other/dovecot index 1ce5108c..7b5b9eb7 100755 --- a/plugins/other/dovecot +++ b/plugins/other/dovecot @@ -28,7 +28,7 @@ ###################### # Configuration ###################### -STAT_FILE=/var/lib/munin/plugin-state/plugin-dovecot.state +STAT_FILE=${STAT_FILE:-/var/lib/munin/plugin-state/plugin-dovecot.state} EXPR_BIN=/usr/bin/expr LOGFILE=${logfile:-/var/log/mail.log} ######################