Oops, forgot to update the start up script and the DESCR as part of the import.
This commit is contained in:
parent
72b58c4f86
commit
2d79ff8ea3
2 changed files with 20 additions and 20 deletions
|
@ -1,2 +1,2 @@
|
||||||
XEP-0045 Multi-User Conferencing component, implemented in Python, using
|
BOSH/XEP-0124 component. Implements an HTTP gateway to XMPP. Useful for
|
||||||
Twisted.
|
browser based jabber clients.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!@RCD_SCRIPTS_SHELL@
|
#!@RCD_SCRIPTS_SHELL@
|
||||||
#
|
#
|
||||||
# $NetBSD: punjab.sh,v 1.1.1.1 2009/02/15 04:09:54 schnoebe Exp $
|
# $NetBSD: punjab.sh,v 1.2 2009/02/17 00:46:43 schnoebe Exp $
|
||||||
#
|
#
|
||||||
# startup script for the proxy65 file transfer proxy service for Jabber
|
# startup script for the proxy65 file transfer proxy service for Jabber
|
||||||
# uses the twistd application engine
|
# uses the twistd application engine
|
||||||
|
@ -10,38 +10,38 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Additional variables
|
# Additional variables
|
||||||
# proxy65_jid [Jabber ID of the service, default proxy65]
|
# punjab_jid [Jabber ID of the service, default proxy65]
|
||||||
# proxy65_secret [shared secret with the S2S]
|
# punjab_secret [shared secret with the S2S]
|
||||||
# proxy65_rhost [IP/Host of the Jabber service router]
|
# punjab_rhost [IP/Host of the Jabber service router]
|
||||||
# proxy65_rport [port of the Jabber service router, def 6000]
|
# punjab_rport [port of the Jabber service router, def 6000]
|
||||||
# proxy65_ips [proxy address:ports to be advertised/used]
|
# punjab_ips [proxy address:ports to be advertised/used]
|
||||||
# [default :7777]
|
# [default :7777]
|
||||||
#
|
#
|
||||||
# ex:
|
# ex:
|
||||||
# proxy65_jid=proxy.jabber.example.org
|
# punjab_jid=proxy.jabber.example.org
|
||||||
# proxy65_secret=JabberSecret
|
# punjab_secret=JabberSecret
|
||||||
# proxy65_rhost=jabber.example.org
|
# punjab_rhost=jabber.example.org
|
||||||
# proxy65_ips=172.18.223.20:8010
|
# punjab_ips=172.18.223.20:8010
|
||||||
#
|
#
|
||||||
|
|
||||||
name="proxy65"
|
name="punjab"
|
||||||
rcvar=$name
|
rcvar=$name
|
||||||
command=@PREFIX@/bin/twistd
|
command=@PREFIX@/bin/twistd
|
||||||
command_interpreter="@PYTHONBIN@"
|
command_interpreter="@PYTHONBIN@"
|
||||||
pidfile="@JABBER_PIDDIR@/${name}.pid"
|
pidfile="@JABBER_PIDDIR@/${name}.pid"
|
||||||
logfile="@JABBER_LOGDIR@/${name}.log"
|
logfile="@JABBER_LOGDIR@/${name}.log"
|
||||||
command_args="-u @JABBER_USER@ --pidfile=${pidfile} -l ${logfile}"
|
command_args="-u @JABBER_USER@ --pidfile=${pidfile} -l ${logfile}"
|
||||||
command_args="${command_args} proxy65"
|
command_args="${command_args} punjab"
|
||||||
|
|
||||||
start_precmd="ensure_piddir && merge_args"
|
start_precmd="ensure_piddir && merge_args"
|
||||||
|
|
||||||
merge_args()
|
merge_args()
|
||||||
{
|
{
|
||||||
command_args="${command_args} ${proxy65_jid:+--jid=${proxy65_jid}}"
|
command_args="${command_args} ${punjab_jid:+--jid=${punjab_jid}}"
|
||||||
command_args="${command_args} ${proxy65_secret:+--secret=${proxy65_secret}}"
|
command_args="${command_args} ${punjab_secret:+--secret=${punjab_secret}}"
|
||||||
command_args="${command_args} ${proxy65_rhost:+--rhost=${proxy65_rhost}}"
|
command_args="${command_args} ${punjab_rhost:+--rhost=${punjab_rhost}}"
|
||||||
command_args="${command_args} ${proxy65_rport:+--rport=${proxy65_rport}}"
|
command_args="${command_args} ${punjab_rport:+--rport=${punjab_rport}}"
|
||||||
command_args="${command_args} ${proxy65_ips:+--proxyips=${proxy65_ips}}"
|
command_args="${command_args} ${punjab_ips:+--proxyips=${punjab_ips}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
ensure_piddir()
|
ensure_piddir()
|
||||||
|
@ -57,5 +57,5 @@ if [ -f /etc/rc.subr ]; then
|
||||||
else
|
else
|
||||||
@ECHO@ -n " ${name}"
|
@ECHO@ -n " ${name}"
|
||||||
ensure_piddir
|
ensure_piddir
|
||||||
${command} ${command_args} ${pyaimt_flags}
|
${command} ${command_args} ${punjab_flags}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue