mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- 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>
This commit is contained in:
parent
a0fa3b1d71
commit
bdefd0da08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281999
@ -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}/
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user