diff options
author | ashish <ashish@FreeBSD.org> | 2011-09-19 23:52:30 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2011-09-19 23:52:30 +0800 |
commit | b5f7bcd50d01cb1569bbbd3e4759f8a7a013126a (patch) | |
tree | a6b1ed50426f8917994edf64e20eb5f7e85d62bd | |
parent | 95134a2ebbed1beb0b13a69b592b6a62dfbe3999 (diff) | |
download | freebsd-ports-gnome-b5f7bcd50d01cb1569bbbd3e4759f8a7a013126a.tar.gz freebsd-ports-gnome-b5f7bcd50d01cb1569bbbd3e4759f8a7a013126a.tar.zst freebsd-ports-gnome-b5f7bcd50d01cb1569bbbd3e4759f8a7a013126a.zip |
- Explicitly specify ERL_EPMD_ADDRESS to ejabberd rc.d script during
startup to avoid unexpected behaviour.
- Bump PORTREVISION
PR: ports/158357
Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
-rw-r--r-- | net-im/ejabberd/Makefile | 1 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile index 64c29cd02f13..ed54ed15a807 100644 --- a/net-im/ejabberd/Makefile +++ b/net-im/ejabberd/Makefile @@ -7,6 +7,7 @@ PORTNAME= ejabberd PORTVERSION= 2.1.8 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://www.process-one.net/downloads/ejabberd/${PORTVERSION}/ diff --git a/net-im/ejabberd/files/ejabberd.in b/net-im/ejabberd/files/ejabberd.in index 4a242cf82751..a8797f678b83 100644 --- a/net-im/ejabberd/files/ejabberd.in +++ b/net-im/ejabberd/files/ejabberd.in @@ -15,6 +15,7 @@ # ejabberd_enable=${ejabberd_enable-"NO"} ejabberd_node=${ejabberd_node-"ejabberd@localhost"} +ejabberd_epmd_address=${ejabberd_epmd_address-"127.0.0.1"} . /etc/rc.subr @@ -50,7 +51,7 @@ ejabberd_checkstatus() ejabberd_start() { echo "Starting $name." - su $EJABBERDUSER -c "$EJABBERDCTL --node $ejabberd_node start" + su $EJABBERDUSER -c "env ERL_EPMD_ADDRESS=\"${ejabberd_epmd_address}\" $EJABBERDCTL --node $ejabberd_node start" } ejabberd_stop() |