]>
iEval git - app-fonbot-daemon.git/blob - Daemon.pm
6ff61ed37750f7ea0ae536f4cbb440da3d428847
1 package App
::FonBot
::Daemon
;
3 our $VERSION = '0.001';
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
;
17 use App
::FonBot
::Plugin
::Email
;
19 use sigtrap qw
/die normal-signals/;
21 use constant PLUGINS
=> map { "App::FonBot::Plugin::$_" } qw
/Config Common OFTC BitlBee HTTPD Email/;
23 ##################################################
26 Log
::Log4perl
->init('/etc/fonbotd/log4perl.conf');
27 chdir '/var/lib/fonbot';
33 $_->fini for reverse PLUGINS
42 App::FonBot::Daemon - FonBot daemon
46 use App::FonBot::Daemon;
47 App::FonBot::Daemon::run;
48 END { App::FonBot::Daemon::finish }
52 This module is the entry point of the FonBot Daemon
60 Runs the FonBot daemon
64 Runs the plugin finalizers
70 Marius Gavrilescu C<< <marius@ieval.ro> >>
72 =head1 COPYRIGHT AND LICENSE
74 Copyright 2013-2015 Marius Gavrilescu
76 This file is part of fonbotd.
78 fonbotd is free software: you can redistribute it and/or modify
79 it under the terms of the GNU Affero General Public License as published by
80 the Free Software Foundation, either version 3 of the License, or
81 (at your option) any later version.
83 fonbotd is distributed in the hope that it will be useful,
84 but WITHOUT ANY WARRANTY; without even the implied warranty of
85 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
86 GNU Affero General Public License for more details.
88 You should have received a copy of the GNU Affero General Public License
89 along with fonbotd. If not, see <http://www.gnu.org/licenses/>
This page took 0.047009 seconds and 3 git commands to generate.