The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Ubic::Service::Hypnotoad - Ubic service module for Mojolicious Hypnotoad

VERSION

version 0.1

SYNOPSIS

    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 => '...',
        },
    });

DESCRIPTION

This service is a common ubic wrap for launching your applications with Hypnotoad.

ACTIONS

status

Get status of service.

start

Start service.

stop

Stop service

reload

Send a USR2 signal to the process, to have it do an "automatic hot deployment".

BUGS

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.

AUTHOR

Alexander Karelas <karjala@cpan.org>

COPYRIGHT AND LICENSE

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.