NAME

Module::Build::Service::clamd - Service implementation for clamd

VERSION

version 0.91

SYNOPSIS

$self->services ([[clamd => 1]]);

DESCRIPTION

This is a service definition for clamd. By default we start the service listening to on localhost:50097 with a minimal config. You can use the following arguments to the service definition to customize this.

ATTRIBUTES

command

The command line to use when invoking clamd. Defaults to:

<bin> -c <config>

config

A config file to use for setting up clamd.

We will generate a minimalist config file by default but if you have something more elaborate in mind, you can point to a static config file here.

If you do so, please be warned that the config MUST include the

Foreground true

directive, or we will not be able to terminate it properly. The default config is equivalent to

Debug true
FixStaleSocket true
Foreground true
LocalSocket _build/mbs/socket/clamd

socket

If you just want clamd to listen on a different socket, specify the full path here and it will be substituted into the default config.

OTHER

See Module::Build::Service::Base and Module::Build::Service::Fork for more configurable attributes.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Ironic Design, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.