++ed by:
AERO ADAMJS

2 PAUSE user(s)

刘刊

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.
 size: ( 10000000 ) multilog S value
 keep: ( 5 ) 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.

tail( $number )

Tail service log

path()

Service path.