Révision 4b2fcbf8
replace hard-coded paths (e.g. '/var/lib/munin/plugin-state') with '$MUNIN_PLUGSTATE'
see http://guide.munin-monitoring.org/en/latest/plugin/env.html
| plugins/postfix/postgrey | ||
|---|---|---|
| 14 | 14 |
} |
| 15 | 15 |
|
| 16 | 16 |
MAIL_LOG=${logfile:-/var/log/mail.log}
|
| 17 |
STATEFILE=/var/lib/munin/plugin-state/postgrey.offset
|
|
| 17 |
STATEFILE=$MUNIN_PLUGSTATE/postgrey.offset
|
|
| 18 | 18 |
LOGTAIL=${logtail:-`which logtail`}
|
| 19 | 19 |
|
| 20 | 20 |
if [ "$1" = "autoconf" ]; then |
Formats disponibles : Unified diff