$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";
 
-$jobs{router}->{cmd} = "$Bin/router";
+$jobs{router}->{cmd} = "$Bin/../libexec/jabberd/router";
 $jobs{router}->{config} = "$config_dir/router.xml";
 $jobs{router}->{prefix} = "ROUT";
 
-$jobs{resolver}->{cmd} = "$Bin/resolver";
+$jobs{resolver}->{cmd} = "$Bin/../libexec/jabberd/resolver";
 $jobs{resolver}->{config} = "$config_dir/resolver.xml";
 $jobs{resolver}->{prefix} = "RSLV";
 
-$jobs{sm}->{cmd} = "$Bin/sm";
+$jobs{sm}->{cmd} = "$Bin/../libexec/jabberd/sm";
 $jobs{sm}->{config} = "$config_dir/sm.xml";
 $jobs{sm}->{prefix} = "SM";
 
-$jobs{c2s}->{cmd} = "$Bin/c2s";
+$jobs{c2s}->{cmd} = "$Bin/../libexec/jabberd/c2s";
 $jobs{c2s}->{config} = "$config_dir/c2s.xml";
 $jobs{c2s}->{prefix} = "C2S";
 
-$jobs{s2s}->{cmd} = "$Bin/s2s";
+$jobs{s2s}->{cmd} = "$Bin/../libexec/jabberd/s2s";
 $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);
