diff options
author | ashish <ashish@FreeBSD.org> | 2011-09-25 02:50:05 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2011-09-25 02:50:05 +0800 |
commit | 5a7220a6ffb8630ed9f68f664f3de06df5c03391 (patch) | |
tree | c1a2bfd2a5fa628404689814db7e6c33aa7f149c /net-im/ejabberd | |
parent | 99450eace31be91f3049931fe4a8860ee6276ae4 (diff) | |
download | freebsd-ports-gnome-5a7220a6ffb8630ed9f68f664f3de06df5c03391.tar.gz freebsd-ports-gnome-5a7220a6ffb8630ed9f68f664f3de06df5c03391.tar.zst freebsd-ports-gnome-5a7220a6ffb8630ed9f68f664f3de06df5c03391.zip |
- Pass ERL_EPMD_ADDRESS to other actions of rc.d script, missed from last time
- Bump PORTREVISION
Reported by: Vick Khera <vivek@khera.org> (via private email)
Diffstat (limited to 'net-im/ejabberd')
-rw-r--r-- | net-im/ejabberd/Makefile | 2 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd.in | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile index ed54ed15a807..b946d2fe4b69 100644 --- a/net-im/ejabberd/Makefile +++ b/net-im/ejabberd/Makefile @@ -7,7 +7,7 @@ PORTNAME= ejabberd PORTVERSION= 2.1.8 -PORTREVISION= 1 +PORTREVISION= 2 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 a8797f678b83..15819d384263 100644 --- a/net-im/ejabberd/files/ejabberd.in +++ b/net-im/ejabberd/files/ejabberd.in @@ -45,7 +45,7 @@ ejabberd_status() ejabberd_checkstatus() { - su $EJABBERDUSER -c "$EJABBERDCTL --node $ejabberd_node status > /dev/null" + su $EJABBERDUSER -c "env ERL_EPMD_ADDRESS=\"${ejabberd_epmd_address}\" $EJABBERDCTL --node $ejabberd_node status > /dev/null" } ejabberd_start() @@ -57,7 +57,7 @@ ejabberd_start() ejabberd_stop() { echo "Stopping $name." - if su $EJABBERDUSER -c "$EJABBERDCTL --node $ejabberd_node stop"; then + if su $EJABBERDUSER -c "env ERL_EPMD_ADDRESS=\"${ejabberd_epmd_address}\" $EJABBERDCTL --node $ejabberd_node stop"; then # sleep 2 # killall -u ejabberd -kill else @@ -69,7 +69,7 @@ ejabberd_reload() { echo "Restarting $name." if ejabberd_checkstatus; then - su $EJABBERDUSER -c "$EJABBERDCTL --node $ejabberd_node restart" + su $EJABBERDUSER -c "env ERL_EPMD_ADDRESS=\"${ejabberd_epmd_address}\" $EJABBERDCTL --node $ejabberd_node restart" else ejabberd_start fi |