NAME

Whim::Command::listen - Listen command

SYNOPSIS

Usage: whim listen [OPTIONS] [stop | start | restart | status]

Examples:
  whim listen start
  whim listen -l http://*:8080 start
  whim listen -l 'https://*:443?cert=./server.crt&key=./server.key' start
  whim listen stop

Options:
  -l, --location <location>            One or more locations you want to
                                       listen on, defaults to the value of
                                       MOJO_LISTEN or "http://*:3000"
  -P, --pid-file <path>                Path to process id file, defaults to
                                       "prefork.pid" in a temporary directory
  -p, --proxy                          Activate reverse proxy support,
                                       defaults to the value of
                                       MOJO_REVERSE_PROXY
  -w, --workers <number>               Number of workers, defaults to 4

Logs to the "log" directory of Whim's home directory (usually $HOME/.whim).

Additionaly, this program accepts all options supported by the Mojolicious
prefork server. Try `mojo help prefork` to see the full list.

DESCRIPTION

Whim's daemon. It's basically just a Daemon::Control instance wrapped around a stock Mojo::Server::Prefork.

SEE ALSO

whim