[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Tue Nov 16 22:52:37 2004 -->
- <!--x-from-r13: wbuazvyyf ng fcrnxrnfl.arg (Xbua [vyyf) -->
- <!--x-message-id: Pine.LNX.4.44.0411162236310.26107-[email protected] -->
- <!--x-subject: [ale] Three d[a]emonic questions -->
- <li><em>date</em>: Tue Nov 16 22:52:37 2004</li>
- <li><em>from</em>: johnmills at speakeasy.net (John Mills)</li>
- <li><em>subject</em>: [ale] Three d[a]emonic questions</li>
I'm doing preliminary debug on a simple server I've written.
1) A few months ago (<=12), someone asked how to set things up so one
instance of a service could be kept going, and promptly be restarted when
it died or was killed. There were a couple of replies, but I can't refind
the thread. Could anyone please remind me where to find this?
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?
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?
TIA.
- John Mills
john.m.mills at alum.mit.edu
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00749" href="msg00749.html">[ale] Three d[a]emonic questions</a></strong>
<ul><li><em>From:</em> mhirsch at nubridges.com (Michael D. Hirsch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00745.html">[ale] Binary Grep</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00747.html">[ale] Binary Grep</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00767.html">[ale] Binary Grep</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00749.html">[ale] Three d[a]emonic questions</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00746"><strong>Date</strong></a></li>
<li><a href="threads.html#00746"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>