Ermöglichen, dass Task-Server mit "-c ..." andere Konfigurationsdatei liest
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 20 May 2011 08:46:17 +0000 (10:46 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 20 May 2011 08:46:17 +0000 (10:46 +0200)
scripts/task_server.pl

index 6fe6067..1931b6a 100755 (executable)
@@ -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};