* examples/mtr/ejabberd: Updated (thanks to Marshall T. Rose)

* src/Makefile.in: Added installation of msgs/ directory

SVN Revision: 175
This commit is contained in:
Alexey Shchepin 2003-11-13 19:09:33 +00:00
parent c248bffd54
commit 05f988572f
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-11-13 Alexey Shchepin <alexey@sevcom.net>
* examples/mtr/ejabberd: Updated (thanks to Marshall T. Rose)
* src/Makefile.in: Added installation of msgs/ directory
2003-11-11 Alexey Shchepin <alexey@sevcom.net> 2003-11-11 Alexey Shchepin <alexey@sevcom.net>
* doc/dev.tex: Developers documentation (not completed) * doc/dev.tex: Developers documentation (not completed)

1
TODO
View File

@ -14,6 +14,5 @@ more correctly work with SRV DNS records (priority, weight, etc...)
TLS TLS
make roster set to work in one transaction make roster set to work in one transaction
add traffic shapers to c2s connection before authentification add traffic shapers to c2s connection before authentification
add traffic shapers to s2s connections
more traffic shapers more traffic shapers
SNMP SNMP

View File

@ -55,7 +55,9 @@ start)
if [ -x $D/src ]; then if [ -x $D/src ]; then
echo "Starting ${name}." echo "Starting ${name}."
cd $D/src cd $D/src
su jabber -c "/usr/pkg/bin/erl -sname ejabberd -s ejabberd -heart -detached &" \ ERL_MAX_PORTS=32000 export ERL_MAX_PORTS
ulimit -n $ERL_MAX_PORTS
su jabber -c "/usr/pkg/bin/erl -sname ejabberd -s ejabberd -heart -detached -sasl sasl_error_logger '{file, \"ejabberd-sasl.log\"}' &" \
1>/dev/null 2>&1 1>/dev/null 2>&1
fi fi
;; ;;

View File

@ -21,7 +21,8 @@ DESTDIR =
EJABBERDDIR = $(DESTDIR)/var/lib/ejabberd EJABBERDDIR = $(DESTDIR)/var/lib/ejabberd
BEAMDIR = $(EJABBERDDIR)/beam BEAMDIR = $(EJABBERDDIR)/beam
PRIVDIR = $(EJABBERDDIR)/priv PRIVDIR = $(EJABBERDDIR)/priv
SODIR = $(PRIVDIR)/lib SODIR = $(PRIVDIR)
MSGSDIR = $(PRIVDIR)/msgs
all: all-recursive $(ERLSHLIBS) compile-beam all: all-recursive $(ERLSHLIBS) compile-beam
@ -52,6 +53,8 @@ install: all
cp *.beam $(BEAMDIR) cp *.beam $(BEAMDIR)
mkdir -p $(SODIR) mkdir -p $(SODIR)
cp *.so $(SODIR) cp *.so $(SODIR)
mkdir -p $(MSGSDIR)
cp msgs/*.msg $(MSGSDIR)
clean: clean-recursive clean: clean-recursive
rm -f *.beam $(ERLSHLIBS) rm -f *.beam $(ERLSHLIBS)