email plugin: Make UNIX socket path configurable at compile time.
authorSebastian Harl <sh@tokkee.org>
Mon, 4 Dec 2006 22:58:44 +0000 (23:58 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 5 Dec 2006 09:18:06 +0000 (10:18 +0100)
commit717eec35268cb3fe9fb5cefe11246255dbc3811e
tree01da3743a732d8c24c4dc6f3dae187c576b40c9f
parentc4c11113bb0df99c750683d0f38b95387dca5767
email plugin: Make UNIX socket path configurable at compile time.

The prefix for the UNIX socket can be configured using the
COLLECTD_SOCKET_PREFIX macro. "email" will be prepended to it.

If you configure collectd using

  CFLAGS="-DCOLLECTD_SOCKET_PREFIX='\"$path-\"'" ./configure

the socket will be found at "$path-email".

Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/email.c