From: Sebastian Harl Date: Tue, 12 Jun 2007 19:43:17 +0000 (+0200) Subject: contrib/SpamAssassin/: Set default socket path to /var/run/collectd-email. X-Git-Tag: collectd-4.1.0~55 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=63166016865eaeda34bb15417bb353b20247331e;p=collectd.git contrib/SpamAssassin/: Set default socket path to /var/run/collectd-email. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/contrib/SpamAssassin/Collectd.pm b/contrib/SpamAssassin/Collectd.pm index c76c44da..1edcfc61 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 0abfb494..7ffd7084 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