Files
@ ddf35570a526
Branch filter:
Location: portage-overlay.git/net-proxy/punjab/files/punjab.initd - annotation
ddf35570a526
729 B
text/plain
cleanup and bump spectrum2 ebuilds
3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 | #!/sbin/runscript
depend() {
need net
need jabber-server
}
start() {
ebegin "Starting punjab Jabber-HTTP-Polling"
cd ${TAPDIR} || eerror "Could not cd to ${TAPDIR}"
if [[ -e ${TAPDIR}/punjab.tap ]]
then
rm ${TAPDIR}/punjab.tap
fi
mktap punjab \
--host=${HOST} \
--port=${PORT} \
--httpb=${USE_BINDING} \
--httpp=${USE_POLLING} \
--soap=${USE_SOAP} \
--xmlrpc=${USE_XMLRPC} \
--html_dir=${HTMLDIR}
start-stop-daemon --start --quiet \
--exec /usr/bin/twistd -- --quiet \
--uid=jabber --gid=jabber --pidfile=${PIDFILE} \
--syslog --no_save -f ${TAPDIR}/punjab.tap
eend $?
}
stop() {
ebegin "Stopping punjab Jabber-HTTP-Polling"
start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
eend $?
}
|