Ubic::Service::Hypnotoad - Ubic service module for Mojolicious Hypnotoad
version 0.1
use Ubic::Service::Hypnotoad; return Ubic::Service::Hypnotoad->new({ bin => '/usr/bin/hypnotoad', # optional, defaults to 'hypnotoad' app => '/home/www/mysite.app', pid_file => '/var/log/mysite.pid', # optional, defaults to a hypnotoad.pid file lying next to "app" env => { # optional environment variables MOJO_FLAG_A => 1, MOJO_CONFIG => '...', }, });
This service is a common ubic wrap for launching your applications with Hypnotoad.
Get status of service.
Start service.
Stop service
Send a USR2 signal to the process, to have it do an "automatic hot deployment".
If you have a Github account, report your issues at https://github.com/akarelas/ubic-service-hypnotoad/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Alexander Karelas <karjala@cpan.org>
This software is copyright (c) 2013 by Alexander Karelas.
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 Ubic::Service::Hypnotoad, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ubic::Service::Hypnotoad
CPAN shell
perl -MCPAN -e shell install Ubic::Service::Hypnotoad
For more information on module installation, please visit the detailed CPAN module installation guide.