[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



I can't recall exactly, but searching for inittab would be a good start.

> 2) If I use xinetd to start my server, I need to ensure that, if a running
> instance of the server exist, that is the one used. If not, a new one
> should be started. 'man xinetd' suggests this is a 'single_threaded'
> service. How do I designate a service to be this type?

I was doing this just last week.  Look at the wait attribute in the man page 
for xinetd.conf.  This does exactly what you want.

> 3) My server needs to listen on two ports. I want a connection on either
> port to use the same, single, running server, or start one if none is
> running at the moment. Can I achieve this with duplicate entries in
> /etc/services against the two port numbers? If not, how?

This I don't know about.  It's easy enough for one server to listen on two 
ports, but if you are also using xinetd it gets much trickier.  Xinetd would 
need to know that the two ports are associated, too, and I don't know how to 
do that.  I can't swear that it isn't possible, however.

Michael


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00750" href="msg00750.html">[ale] Three d[a]emonic questions</a></strong>
<ul><li><em>From:</em> jsheets at yahoo.com (Jerald Sheets)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00746" href="msg00746.html">[ale] Three d[a]emonic questions</a></strong>
<ul><li><em>From:</em> johnmills at speakeasy.net (John Mills)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00748.html">[ale] Mailing list manager with a search interface</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00750.html">[ale] Three d[a]emonic questions</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00746.html">[ale] Three d[a]emonic questions</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00750.html">[ale] Three d[a]emonic questions</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00749"><strong>Date</strong></a></li>
<li><a href="threads.html#00749"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>