diff options
Diffstat (limited to 'chat/ejabberd/patches/patch-ae')
-rw-r--r-- | chat/ejabberd/patches/patch-ae | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chat/ejabberd/patches/patch-ae b/chat/ejabberd/patches/patch-ae index aa6a1f8b6ed..cfa491edec1 100644 --- a/chat/ejabberd/patches/patch-ae +++ b/chat/ejabberd/patches/patch-ae @@ -1,6 +1,6 @@ -$NetBSD: patch-ae,v 1.5 2010/03/13 21:05:49 fhajny Exp $ +$NetBSD: patch-ae,v 1.6 2010/09/03 10:31:43 fhajny Exp $ ---- src/ejabberdctl.template.orig 2010-03-12 10:40:41.000000000 +0000 +--- src/ejabberdctl.template.orig 2010-08-02 16:33:20.000000000 +0000 +++ src/ejabberdctl.template @@ -43,10 +43,10 @@ if [ "$EJABBERDCTL_CONFIG_PATH" = "" ] ; fi @@ -24,12 +24,12 @@ $NetBSD: patch-ae,v 1.5 2010/03/13 21:05:49 fhajny Exp $ fi if [ "$EJABBERD_EBIN_PATH" = "" ]; then EJABBERD_EBIN_PATH=$EJABBERDDIR/ebin -@@ -234,7 +234,7 @@ ctl () +@@ -237,7 +237,7 @@ ctl () # using flock if available. Expects a linux-style # flock that can lock a file descriptor. MAXCONNID=100 - CONNLOCKDIR=@LOCALSTATEDIR@/lock/ejabberdctl + CONNLOCKDIR=@EJABBERD_PIDDIR@ FLOCK='/usr/bin/flock' - if [ ! -x "$FLOCK" ] ; then + if [ ! -x "$FLOCK" ] || [ ! -d "$CONNLOCKDIR" ] ; then JOT='/usr/bin/jot' |