Deprecated.
NAME
Clustericious::Command::hypnotoad - Clustericious command to stat Hypnotoad
VERSION
version 1.29
DESCRIPTION
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:
- listen
-
List of URLS to listen on
- pid_file
-
The location of the PID file. For the stop command to work this MUST be specified.,
EXAMPLES
hypnotoad by itself
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;
paired with another server
Examples for proxying another server to a hypnotoad back end can be found in Clustericious::Command::apache and Clustericious::Command::nginx.
SEE ALSO
Clustericious Mojo::Server::Hypnotoad,
AUTHOR
Original author: Brian Duggan
Current maintainer: Graham Ollis <plicease@cpan.org>
Contributors:
Curt Tilmes
Yanick Champoux
COPYRIGHT AND LICENSE
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.