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

Clustericious::Command::start

DESCRIPTION

Start a daemon using the config file and the start_mode.

EXAMPLE

   ---
   start_mode : hypnotoad
   hypnotoad :
      pid      : /tmp/restmd.pid
      [...]
      env      :
        foo : bar

The above configuration will will cause "myapp start" to be equivalent to

  foo=bar myapp hypnotoad --pid /tmp/restmd.pid [..]

In other words, keys and values in the configuration file become options preceded by double dashes.

If a key has a single dash, it is sent as is (with no double dash).

The special value "null" means don't send an argument to the command line option.

The special label "env" is an optional hash of environment variables to set before starting the command.

SEE ALSO

Clustericious::Command::hypnotoad