Restarting a process

Vic <simranranee-/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hello

I have a a serial line  monitor (sermon.tini) which is
started during a TINI boot (an entry in etc/.startup)
however my monitor exits when there is a exception, I
would like to create another "guardian" program which
will monitor this sermon.tini, if the program stops,
the guardian restarts it.

I have looked into TINIOS class, it has option to kill
task or monitor task by process id, but has no way to
get a process ID by the name of the program or task.  

How can I proceed?

Regds
Jameel  

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.