* [gentoo-commits] gentoo-x86 commit in net-misc/udpxy/files: udpxy.confd udpxy.initd
@ 2012-03-22 11:12 Peter Volkov (pva)
0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2012-03-22 11:12 UTC (permalink / raw
To: gentoo-commits
pva 12/03/22 11:12:43
Added: udpxy.confd udpxy.initd
Log:
Added init scripts by Drew, bug #257807.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Revision Changes Path
1.1 net-misc/udpxy/files/udpxy.confd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/udpxy/files/udpxy.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/udpxy/files/udpxy.confd?rev=1.1&content-type=text/plain
Index: udpxy.confd
===================================================================
#udpxy 1.0_Chipmunk (build 8) standard
#usage: udpxy [-vTS] [-a listenaddr] -p port [-m mcast_ifc_addr] [-c clients] [-l logfile] [-B sizeK] [-n nice_incr]
# -v : enable verbose output [default = disabled]
# -S : enable client statistics [default = disabled]
# -T : do NOT run as a daemon [default = daemon if root]
# -a : (IPv4) address/interface to listen on [default = 0.0.0.0]
# -p : port to listen on
# -m : (IPv4) address/interface of (multicast) source [default = 0.0.0.0]
# -c : max clients to serve [default = 3, max = 16]
# -l : log output to file [default = stderr]
# -B : cache size (65536, 32Kb, 1Mb) for inbound (multicast) data [default = 65536 bytes]
# -R : maximum messages to cache in buffer (-1 = all) [default = -1]
# -H : maximum time (sec) to hold data in buffer (-1 = unlimited) [default = 4]
# -n : nice value increment [default = 0]
# -M : periodically renew multicast subscription (skip if 0 sec) [default = 0 sec]
#Examples:
# udpxy -p 4022
# listen for HTTP requests on port 4022, all network interfaces
# udpxy -a lan0 -p 4022 -m lan1
# listen for HTTP requests on interface lan0, port 4022;
# subscribe to multicast groups on interface lan1
UDPXYOPTS="-p 4022"
1.1 net-misc/udpxy/files/udpxy.initd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/udpxy/files/udpxy.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/udpxy/files/udpxy.initd?rev=1.1&content-type=text/plain
Index: udpxy.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/udpxy/files/udpxy.initd,v 1.1 2012/03/22 11:12:43 pva Exp $
depend() {
need net
}
start() {
ebegin "Starting udpxy"
start-stop-daemon --start --exec /usr/bin/udpxy -- ${UDPXYOPTS}
eend $?
}
stop() {
ebegin "Stopping udpxy"
start-stop-daemon --stop --exec /usr/bin/udpxy
eend $?
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-22 11:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-22 11:12 [gentoo-commits] gentoo-x86 commit in net-misc/udpxy/files: udpxy.confd udpxy.initd Peter Volkov (pva)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox