NAME

Convos::Control::Frontend - Extends Daemon::Control to control Convos frontend

DESCRIPTION

Convos::Control::Frontend is a sub class of Daemon::Control used to control hypnotoad.

SYNOPSIS

use Convos::Control::Frontend;
exit Convos::Control::Frontend->new->run;

ATTRIBUTES

directory

Defaults to Convos home.

init_code

Code to be injected into the init script.

init_config

File to source environment variables for init script. Default to "/etc/default/convos".

lsb_desc

"Start Convos frontend with hypnotoad".

lsb_sdesc

"Convos frontend".

name

"Convos frontend".

pid_file

Default to CONVOS_FRONTEND_PID_FILE environment variable.

program_args

Array ref with one argument: The full path to convos executable.

program

"hypnotoad".

reload_signal

"USR2".

METHODS

do_help

Will print help to screen.

do_start

Will start hypnotoad in background or foreground mode.

new

Object constructor.

COPYRIGHT AND LICENSE

Copyright (C) 2014, Jan Henning Thorsen

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org