mrest(1p)

mrest1p

Web::mrest server startup script

Usage

Possible invocations (any options after "--" are parsed by Plack::Runner: basically, they can be anything accepted by "plackup":

    $ mrest --distro My-Distro --module My::Module
    $ mrest -d My::Distro -m My::Module
    $ mrest --distro My-Distro --module My::Module --sitedir /etc/my-module
    $ mrest -d My::Distro -m My::Module -s /etc/my-module
    $ mrest -- --server Starman
    $ mrest --help

Overview

Run this script from the bash prompt to start the server.

Passing options to plack

This script starts the server by instantiates a Plack::Runner object and calling its "run" method. Before doing that, it calls the "parse_options" method with @ARGV as its argument. However, the script does so after parsing its own options. Options intended to be parsed by Plack::Runner should be placed at the end of the command line, preceded by "--".

Options

You can include an "--early-debug" option on the command line, with the name of a file in which Web::MREST will capture "early" log messages -- i.e. all log messages generated before the "official" MREST log file (i.e. the one defined in the site parameters) is known.

Functions

Main

Releases

5 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11
  4. 12–13

From libweb-mrest-perl 0.290-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.