mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
74bac1ce46
- Add a fix from upstream to make it work with LibreSSL[1] - Add a bug fix from upstream w.r.t. ejabberd_pix module - Add a fix for kqueue implementation in 'fs' dependency module - Remove FreeBSD sed workaround PR: 224320 [1] Submitted by: romain [1]
24 lines
931 B
Plaintext
24 lines
931 B
Plaintext
--- ejabberdctl.template.orig 2017-12-14 20:47:43 UTC
|
|
+++ ejabberdctl.template
|
|
@@ -58,8 +58,8 @@ done
|
|
|
|
# define ejabberd variables if not already defined from the command line
|
|
: "${ETC_DIR:="{{sysconfdir}}/ejabberd"}"
|
|
-: "${LOGS_DIR:="{{localstatedir}}/log/ejabberd"}"
|
|
-: "${SPOOL_DIR:="{{localstatedir}}/lib/ejabberd"}"
|
|
+: ${LOGS_DIR:=/var/log/ejabberd}
|
|
+: ${SPOOL_DIR:=/var/spool/ejabberd}
|
|
: "${EJABBERD_CONFIG_PATH:="$ETC_DIR/ejabberd.yml"}"
|
|
: "${EJABBERDCTL_CONFIG_PATH:="$ETC_DIR/ejabberdctl.cfg"}"
|
|
[ -f "$EJABBERDCTL_CONFIG_PATH" ] && . "$EJABBERDCTL_CONFIG_PATH"
|
|
@@ -79,7 +79,8 @@ if [ -n "$INET_DIST_INTERFACE" ] ; then
|
|
ERLANG_OPTS="$ERLANG_OPTS -kernel inet_dist_use_interface $INET_DIST_INTERFACE2"
|
|
fi
|
|
fi
|
|
-ERL_LIBS={{libdir}}
|
|
+ERL_LIBS={{libdir}}/ejabberd
|
|
+ERL_LIBS=$ERL_LIBS:{{libdir}}/ejabberd/lib
|
|
ERL_CRASH_DUMP="$LOGS_DIR"/erl_crash_$(date "+%Y%m%d-%H%M%S").dump
|
|
ERL_INETRC="$ETC_DIR"/inetrc
|
|
|