Respawn Process executed in /etc/rc.local

Hi there,

Is it possible to make a script added to /etc/rc.local automatically respawn in case if crashes (or exits without any warnings).

Could the same be done by adding a custom file to /etc/inid.d ?

Thanks!

Try daemontools ? ( untest method )

opkg update
opkg install daemontools

Setup help link:

http://lgallardo.com/en/2013/05/06/daemontools-o-como-relanzar-un-proceso-si-muere/

http://www.gluelogic.com/code/daemontools/examples.shtml

If you got it work, please post here, share with us.