Processes spontaneously stop
Shawn Silverman <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hello. I've encountered a problem where a process is killed without
fully starting.
I start the process with a script ('source' command), then just before
the program referenced in the script starts, I exit. In another telnet
window, I can see the process with the 'ps' command, and about 5
seconds later, the process is gone.
My script looks like this:
java /web/bin/webserver.tini /web/bin/webserver.props &
I start it with this command:
source /web/bin/WebServer
Could it have something to do with the standard output streams being
suddenly disconnected?
If I don't exit immediately, but wait for the program to print
something, and then I exit, the process starts fine.
Thanks,
-Shawn
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini