[collectd] [PATCH] contrib/SpamAssassin/: Set default socket path to /var/run/collectd-email.

Sebastian Harl sh at tokkee.org
Tue Jun 12 21:43:17 CEST 2007


Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 contrib/SpamAssassin/Collectd.pm |    4 ++--
 contrib/SpamAssassin/example.cf  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/SpamAssassin/Collectd.pm b/contrib/SpamAssassin/Collectd.pm
index c76c44d..1edcfc6 100644
--- a/contrib/SpamAssassin/Collectd.pm
+++ b/contrib/SpamAssassin/Collectd.pm
@@ -18,7 +18,7 @@ add a loadplugin call into your init.pre file.
 
 =over 4
 
-=item collectd_socket [ socket path ]	    (default: /tmp/.collectd-email)
+=item collectd_socket [ socket path ]	    (default: /var/run/collectd-email)
 
 Where the collectd socket is
 
@@ -116,7 +116,7 @@ sub set_config {
 
     push (@cmds, {
 	    setting => 'collectd_socket', 
-	    default => '/tmp/.collectd-email',
+	    default => '/var/run/collectd-email',
 	    type => $Mail::SpamAssassin::Conf::CONF_TYPE_STRING,
     });
 
diff --git a/contrib/SpamAssassin/example.cf b/contrib/SpamAssassin/example.cf
index 0abfb49..7ffd708 100644
--- a/contrib/SpamAssassin/example.cf
+++ b/contrib/SpamAssassin/example.cf
@@ -1,5 +1,5 @@
 collectd_buffersize 256
-collectd_socket /tmp/.collectd-email
+collectd_socket /var/run/collectd-email
 collectd_timeout 2
 collectd_retries 3 
 
-- 
1.5.1.4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070612/ad0139e2/attachment.pgp 


More information about the collectd mailing list