Clustericious::Command::hypnotoad - Clustericious command to stat Hypnotoad
version 1.29
Start a hypnotoad web server.
Configuration for the server is taken directly from the "hypnotoad" entry in the config file, and turned into a config file for hypnotoad. Among other options in this section these are recognized:
List of URLS to listen on
The location of the PID file. For the stop command to work this MUST be specified.,
Create a hypnotoad.conf:
--- % my $root = dir "@{[ home ]}/var/run/"; % $root->mkpath(0,0700); url: http://<%= $host %>:<%= $port %> start_mode: hypnotoad hypnotoad: listen: - http://<%= $host %>:<%= $port %> pid_file: <%= $root %>/hypnotoad.<%= $port %>.pid
Then call from your application's config file:
--- % extend_config 'hypnotoad', host => 'localhost', port => 3001;
Examples for proxying another server to a hypnotoad back end can be found in Clustericious::Command::apache and Clustericious::Command::nginx.
Clustericious Mojo::Server::Hypnotoad,
Original author: Brian Duggan
Current maintainer: Graham Ollis <plicease@cpan.org>
Contributors:
Curt Tilmes
Yanick Champoux
This software is copyright (c) 2013 by NASA GSFC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Clustericious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious
CPAN shell
perl -MCPAN -e shell install Clustericious
For more information on module installation, please visit the detailed CPAN module installation guide.