From: Moritz Bunkus Date: Fri, 20 May 2011 08:46:17 +0000 (+0200) Subject: Ermöglichen, dass Task-Server mit "-c ..." andere Konfigurationsdatei liest X-Git-Tag: release-2.6.3~25^2~15^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=31eb98ad92f29ee6d34a379479916a78d767c6ce;p=kivitendo-erp.git Ermöglichen, dass Task-Server mit "-c ..." andere Konfigurationsdatei liest --- diff --git a/scripts/task_server.pl b/scripts/task_server.pl index 6fe606791..1931b6a86 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -85,7 +85,7 @@ sub drop_privileges { sub gd_preconfig { my $self = shift; - SL::LxOfficeConf->read; + SL::LxOfficeConf->read($self->{configfile}); die "Missing section [task_server] in config file" unless $lx_office_conf{task_server}; die "Missing key 'login' in section [task_server] in config file" unless $lx_office_conf{task_server}->{login};