Alexander Karelas > Ubic-Service-Hypnotoad-0.1 > Ubic::Service::Hypnotoad

Download:
Ubic-Service-Hypnotoad-0.1.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.1   Source   Latest Release: Ubic-Service-Hypnotoad-0.2001

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.

syntax highlighting: