NAME

Clustericious::Command::start - Clustericious command to start a Clustericious application

SYNOPSIS

In your MyApp.conf:

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

Then on the command line

% myapp start

Which is equivalent to

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

DESCRIPTION

Start a daemon using the config file and the start_mode.

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.

SUPER CLASS

Clustericious::Command

SEE ALSO

Clustericious, Clustericious::Command::hypnotoad