proxy65 component in jabberd2

Installing a proxy65 service for jabberd2 is quiet easy.

Download the source from and uncompress it in a directory of your choice. My stuff is under /usr/local/src

Installing is done by issuing python install, as described in the docs. Now that you installed and hopefully followed the documentation from proxy65, you need a component script for jabberd2 to start automatically, when the server starts up.

My script is not as perfect as the other scripts, but works well enough for me:

File: /etc/jabberd2/component.d/60proxy65


set -e


case "$1" in
echo -n " ${NAME}"
/bin/su jabber -s /bin/sh -c "/usr/bin/twistd \
--logfile=/var/log/jabberd2/proxy65.log \
--pidfile=${PIDFILE} \
${NAME} \ \
--secret='PASSPHRASE' \
--rhost= \
--rport=5347 \
echo -n " ${NAME}"
kill $(cat ${PIDFILE})
$0 stop
sleep 1
$0 start
echo "`basename $0` called with unknown option {$1}"
exit 1

exit 0

The passphrase is taken from the router-users.xml file.

Hope it works for you. Any suggestions/hints are welcome 😉

2 Gedanken zu „proxy65 component in jabberd2

  1. alex rausch

    Hi Christian,

    Danke – Bin von ejabberd auf prosody umgestiegen!

    Und wen findet man dann bei proxy65 😉

    Danke das Script hat mir geholfen das Teil zu starten!

Kommentare sind geschlossen.