|
Home > Archive > Unix administration > January 2004 > process called from inetd.conf is still living
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
process called from inetd.conf is still living
|
|
| Hynek Los 2004-01-23, 4:50 pm |
| I have a simple script writen in inetd.conf .Everything is working
corectly - when a tried to make tcp connection from outthere to unix,
scripts is started and stdio in/out is connected together witht tcpip
connection. But
my problem is started ,when tcp connection is going down.So connection
is closed ,but process is still running...
HPUX11.00
thank you
Hynek Los
| |
| Hynek Los 2004-01-23, 4:50 pm |
| Hynek Los wrote:
hmm sory - my question is - how i can make to drop process when
connection is closed...
bye byequote:
> I have a simple script writen in inetd.conf .Everything is working
> corectly - when a tried to make tcp connection from outthere to unix,
> scripts is started and stdio in/out is connected together witht tcpip
> connection. But
>
> my problem is started ,when tcp connection is going down.So
> connection is closed ,but process is still running...
>
> HPUX11.00
>
>
> thank you
>
> Hynek Los
>
| |
| Barry Margolin 2004-01-23, 4:50 pm |
| In article <blutlp$591$2@mrazik2.dkm.cz>,
Hynek Los <hynek.los@volny.cz> wrote:quote:
>Hynek Los wrote:
>
>hmm sory - my question is - how i can make to drop process when
>connection is closed...
The application has to detect that the connection has closed. It needs to
try to read from stdin so that it gets EOF, and then it must exit.
--
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
|
|
|
|
|