NAME

Convos::Control::Backend - Extends Daemon::Control to control Convos backend

DESCRIPTION

Convos::Control::Backend is a sub class of Convos::Control used to control the backend

SYNOPSIS

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

ATTRIBUTES

group

Default to RUN_AS_GROUP environment variable or the first group of "user".

lsb_desc

"Start Convos backend".

lsb_sdesc

"Convos backend".

name

"Convos backend".

program

Returns a callback which can be used to start the backend.

pid_file

Default to CONVOS_BACKEND_PID_FILE environment variable.

stderr_file

Default to CONVOS_BACKEND_LOGFILE environment variable.

stdout_file

Default to CONVOS_BACKEND_LOGFILE environment variable.

user

Default to RUN_AS_USER environment variable or the current user.

METHODS

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