]>
iEval git - app-fonbot-daemon.git/blob - App/FonBot/Daemon.pm
1 package App
::FonBot
::Daemon
;
3 our $VERSION = '0.000_4';
9 use Log
::Log4perl qw
//;
12 use App
::FonBot
::Plugin
::Config
;
13 use App
::FonBot
::Plugin
::Common
;
14 use App
::FonBot
::Plugin
::OFTC
;
15 use App
::FonBot
::Plugin
::BitlBee
;
16 use App
::FonBot
::Plugin
::HTTPD
;
18 use sigtrap qw
/die normal-signals/;
20 use constant PLUGINS
=> map { "App::FonBot::Plugin::$_" } qw
/Config Common OFTC BitlBee HTTPD/;
22 ##################################################
25 Log
::Log4perl
->init('/etc/fonbotd/log4perl.conf');
26 chdir '/var/lib/fonbot';
32 $_->fini for reverse PLUGINS
41 App::FonBot::Daemon - FonBot daemon
45 use App::FonBot::Daemon;
46 App::FonBot::Daemon::run;
47 END { App::FonBot::Daemon::finish }
51 This module is the entry point of the FonBot Daemon
59 Runs the FonBot daemon
63 Runs the plugin finalizers
69 Marius Gavrilescu C<< <marius@ieval.ro> >>
71 =head1 COPYRIGHT AND LICENSE
73 Copyright 2013 Marius Gavrilescu
75 This file is part of fonbotd.
77 fonbotd is free software: you can redistribute it and/or modify
78 it under the terms of the GNU Affero General Public License as published by
79 the Free Software Foundation, either version 3 of the License, or
80 (at your option) any later version.
82 fonbotd is distributed in the hope that it will be useful,
83 but WITHOUT ANY WARRANTY; without even the implied warranty of
84 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
85 GNU Affero General Public License for more details.
87 You should have received a copy of the GNU Affero General Public License
88 along with fonbotd. If not, see <http://www.gnu.org/licenses/>
This page took 0.052766 seconds and 4 git commands to generate.