NAME

Toadfarm::Manual::RunningToadfarm - Command line options

DESCRIPTION

This manual goes through the command line options for toadfarm.

Basics

You can start the application by running:

# Run the Toadfarm application with hypnotoad
$ /path/to/your-script start

Actions

In addition to all the default commands, Toadfarm adds some more:

    $ /path/to/your-script start

    Will only start your application if not running.

    * Toadfarm::Command::stop

    $ /path/to/your-script stop

    Will stop your application. Note that this command also waits for the application to stop, which might take several seconds.

    * Toadfarm::Command::reload

    $ /path/to/your-script reload

    Will either start the application or make it hot deploy.

Init-V

Look at https://github.com/jhthorsen/toadfarm/tree/master/etc for example resources which show how to start Toadfarm on ubuntu.

Crontab

* * * * * /usr/local/bin/toadfarm -a My::App --start 1>/tmp/toadfarm.cron.log 2>&1

Other ways

It is possible to start the server using the standard Mojolicious tools as well:

$ /path/to/your-script daemon --listen http://*:5000
$ morbo /path/to/your-script
$ hypnotoad /path/to/your-script

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org

1 POD Error

The following errors were encountered while parsing the POD:

Around line 21:

=over should be: '=over' or '=over positive_number'

You can't have =items (as at line 29) unless the first thing after the =over is an =item