Module::Build::Service::clamd - Service implementation for clamd
version 0.91
$self->services ([[clamd => 1]]);
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.
The command line to use when invoking clamd. Defaults to:
<bin> -c <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
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.
See Module::Build::Service::Base and Module::Build::Service::Fork for more configurable attributes.
Michael Alan Dorman <mdorman@ironicdesign.com>
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.
To install Module::Build::Service, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Build::Service
CPAN shell
perl -MCPAN -e shell install Module::Build::Service
For more information on module installation, please visit the detailed CPAN module installation guide.