changeset 13808:3027626f7239

director-test.sh script fixed to use a working path for director-test binary.
author Timo Sirainen <tss@iki.fi>
date Thu, 08 Dec 2011 05:02:12 +0200
parents 1e118913348b
children ddf28d10ff0f
files src/director/director-test.sh
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/director/director-test.sh	Wed Dec 07 01:48:03 2011 +0200
+++ b/src/director/director-test.sh	Thu Dec 08 05:02:12 2011 +0200
@@ -4,6 +4,8 @@
 
 echo "Add to /etc/hosts:"
 
+curpath=`pwd`
+
 hosts=""
 dirs=""
 i=0
@@ -64,7 +66,7 @@
   }
 }
 service director-test {
-  executable = director-test /var/run/dovecot1/director-admin
+  executable = $curpath/director-test /var/run/dovecot1/director-admin
   process_limit = 1
 
   inet_listener {