NAME

Vulcan::Daemon - CLI for daemontools service.

CONFIGURATION

A YAML file that defines conf and service paths. Each must be a valid directory or symbolic link.

service

Under which services are set up.

conf

Under which configuration files reside. Each configuration file may specify the following parameters in YAML:

required:

command: service command

optional, default to ( ):

user: ( nobody ) setuidgid user.
nice: ( 19 ) nice -n value.
ionice: ( 3 ) ionice -p value.
wait: ( 20 ) sleep a few seconds after a failed launch.

size: ( 10000 ) multilog S value
keep: ( 10 ) multilog N value

SYNOPSIS

use Vulcan::Daemon;

my $daemon = Vulcan::Daemon->new( name => 'foo', path => '/path/file' );

$daemon->run();
$daemon->kill();

METHODS

run()

Set up and launch service.

kill()

Kill service.

path()

Service path.