Brian Duggan > Clustericious-0.9910 > Clustericious::Command::start

Download:
Clustericious-0.9910.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Clustericious-0.9937

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

syntax highlighting: