SOURCES: munin-plugins-muninexchange-openvpn.patch (NEW) - configurable log...

baggins baggins at pld-linux.org
Sun Nov 30 01:54:29 CET 2008


Author: baggins                      Date: Sun Nov 30 00:54:29 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- configurable logfile

---- Files affected:
SOURCES:
   munin-plugins-muninexchange-openvpn.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/munin-plugins-muninexchange-openvpn.patch
diff -u /dev/null SOURCES/munin-plugins-muninexchange-openvpn.patch:1.1
--- /dev/null	Sun Nov 30 01:54:30 2008
+++ SOURCES/munin-plugins-muninexchange-openvpn.patch	Sun Nov 30 01:54:24 2008
@@ -0,0 +1,11 @@
+--- munin-plugins-muninexchange-20081128/openvpn/openvpn_clients~	2008-11-29 13:19:37.000000000 +0100
++++ munin-plugins-muninexchange-20081128/openvpn/openvpn_clients	2008-11-30 01:43:48.000000000 +0100
+@@ -42,7 +42,7 @@
+ 
+ use strict;
+ 
+-my $statuslogfile = "/etc/openvpn/openvpn-status.log";
++my $statuslogfile = $ENV{'logfile'} || "/etc/openvpn/openvpn-status.log";
+ my $clients = 0;
+ 
+ if($ARGV[0] and $ARGV[0] eq "autoconf" ) {
================================================================


More information about the pld-cvs-commit mailing list