fix startup using configuration file. ok MAINTAINER.

This commit is contained in:
jakob 2005-05-05 06:56:08 +00:00
parent 35ac335350
commit 5e06ee8fab

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-tools_jabberd_in,v 1.1.1.1 2004/05/29 13:12:30 jakob Exp $
--- tools/jabberd.in.orig Fri Sep 5 17:17:36 2003
+++ tools/jabberd.in Fri Sep 5 17:19:16 2003
@@ -64,23 +64,23 @@ $SIG{CHLD} = "IGNORE";
$OpenBSD: patch-tools_jabberd_in,v 1.2 2005/05/05 06:56:08 jakob Exp $
--- tools/jabberd.in.orig Tue Dec 7 18:08:38 2004
+++ tools/jabberd.in Wed May 4 10:01:24 2005
@@ -67,23 +67,23 @@ $SIG{CHLD} = "IGNORE";
#-----------------------------------------------------------------------------
$jobs{jabberd}->{prefix} = "JBRD";
@ -30,3 +30,12 @@ $OpenBSD: patch-tools_jabberd_in,v 1.1.1.1 2004/05/29 13:12:30 jakob Exp $
$jobs{s2s}->{config} = "$config_dir/s2s.xml";
$jobs{s2s}->{prefix} = "S2S";
@@ -111,7 +111,7 @@ else
# Assume that all the commands are in the same directory
# as the jabberd script. The current configuration file
# format does not allow specification of pathnames for commands.
- my $cmd = "$Bin/$job";
+ my $cmd = "$Bin/../libexec/jabberd/$job";
push(@programs,[$job,$config,$cmd]);
}
close(CFG);