X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2dffed32b8ca244087eab7d03638ed5766f96042..0f988add03549dbb11f12e0e3c6ab8fcbcdea911:/scripts/task_server.pl diff --git a/scripts/task_server.pl b/scripts/task_server.pl index 1ac7e3126..8c17ca70a 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -27,6 +27,7 @@ use SL::DB::BackgroundJob; use SL::BackgroundJob::ALL; use SL::Form; use SL::Helper::DateTime; +use SL::InstanceConfiguration; use SL::LXDebug; use SL::LxOfficeConf; use SL::Locale; @@ -38,11 +39,12 @@ sub lxinit { package main; - $::lxdebug = LXDebug->new; - $::locale = Locale->new($::lx_office_conf{system}->{language}); - $::form = Form->new; - $::auth = SL::Auth->new; - $::request = { cgi => CGI->new({}) }; + $::lxdebug = LXDebug->new; + $::locale = Locale->new($::lx_office_conf{system}->{language}); + $::form = Form->new; + $::auth = SL::Auth->new; + $::instance_conf = SL::InstanceConfiguration->new; + $::request = { cgi => CGI->new({}) }; die 'cannot reach auth db' unless $::auth->session_tables_present; @@ -143,7 +145,7 @@ mkdir($pidbase) if !-d $pidbase; my $file = -f "${cwd}/config/lx_office.conf" ? "${cwd}/config/lx_office.conf" : "${cwd}/config/lx_office.conf.default"; newdaemon(configfile => $file, - progname => 'lx-office-task-server', + progname => 'kivitendo-task-server', pidbase => "${pidbase}/", );