diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-09-19 15:52:30 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-09-19 15:52:30 +0000 |
commit | bdefd0da0894ea0d68ce5581d254db6962108f9a (patch) | |
tree | 7c7d524348ddb54999e36bd5ddd9fa8eac0b31b6 /net-im/ejabberd | |
parent | a0fa3b1d71a8817544a5ac4dcc463ea6c902a944 (diff) | |
download | ports-bdefd0da0894ea0d68ce5581d254db6962108f9a.tar.gz ports-bdefd0da0894ea0d68ce5581d254db6962108f9a.zip |
Notes
Diffstat (limited to 'net-im/ejabberd')
-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() |