[Users] Question about forking
Tim Madorma
tmadorma at gmail.com
Mon May 7 23:01:40 CEST 2007
Hi,
I want to start openser with runsv which requires that the starting
process run in the foreground. My problem is that I also want to
listen on a couple of different ports. When I set forking = yes, it
will listen on multiple ports, but runsv won't work. When I set
forking=no, then openser will only listen on the first specified port.
Is there any way around this? Can I have the starting process run in
the foreground and fork other processes that listen to the ports in
the background?
Here is the error message:
WARNING: no fork mode and more than one listen address found(will use
only the the first one)
Here are the associated configuration lines:
fork=no
children=32
# Local IP address/port pairs to listen to
listen=65.185.233.55:5061
listen=65.185.233.55:5062
# Alias IP address/port pairs
alias=65.185.233.104:5061
alias=65.185.233.104:5062
thanks,
Tim
More information about the sr-users
mailing list