The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DynGig::Automata::CLI::Watcher::Service - CLI for watcher service.

EXAMPLE

 use DynGig::Automata::CLI::Watcher::Service;

 DynGig::Automata::CLI::Watcher::Service->main
 (
     user => 'username',
     root => '/watcher/root/path',
     command => '/watcher/run/command/path', ## CLI of watcher run
     'log-size' => 100000,
     'log-keep' => 10,
 );

SYNOPSIS

$exe --help

$exe name .. [--root dir] [--user user] [--command path] [--log-keep number] [--log-size number] --up

$exe name .. [--root dir] [--user user] [--command path] [--log-keep number] [--log-size number] --restart

$exe name .. [--root dir] [--status]

$exe name .. [--root dir] --down

$exe name .. [--root dir] --kill

NOTE

See DynGig::Automata