SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
39
net/munin/patches/patch-plugins_node_d_amavis_in
Normal file
39
net/munin/patches/patch-plugins_node_d_amavis_in
Normal file
|
@ -0,0 +1,39 @@
|
|||
Index: plugins/node.d/amavis.in
|
||||
--- plugins/node.d/amavis.in.orig
|
||||
+++ plugins/node.d/amavis.in
|
||||
@@ -20,11 +20,11 @@ The configuration environment variables are available
|
||||
|
||||
=item amavislog
|
||||
|
||||
-Path to logfile (Default: "/var/log/mail/mail.info")
|
||||
+Path to logfile (Default: "/var/log/maillog")
|
||||
|
||||
=item logtail
|
||||
|
||||
-Path to logtail command (Default: "logtail")
|
||||
+Path to logtail command (Default: "/usr/local/bin/logtail")
|
||||
|
||||
=back
|
||||
|
||||
@@ -41,8 +41,8 @@ the full path for the program.
|
||||
The following shows a typical configuration:
|
||||
|
||||
[amavis]
|
||||
- env.amavislog /var/log/mail/mail.info
|
||||
- env.logtail /usr/bin/logtail
|
||||
+ env.amavislog /var/log/maillog
|
||||
+ env.logtail /usr/local/bin/logtail
|
||||
group adm
|
||||
|
||||
=head1 INTERPRETATION
|
||||
@@ -74,8 +74,8 @@ GPLv2
|
||||
=cut
|
||||
|
||||
|
||||
-AMAVIS_LOG=${amavislog:-/var/log/mail/mail.info}
|
||||
-LOGTAIL=${logtail:-logtail}
|
||||
+AMAVIS_LOG=${amavislog:-/var/log/maillog}
|
||||
+LOGTAIL=${logtail:-/usr/local/bin/logtail}
|
||||
STATEFILE=$MUNIN_PLUGSTATE/amavis.offset
|
||||
|
||||
if [ "$1" = "autoconf" ]; then
|
Loading…
Add table
Add a link
Reference in a new issue