Go Down

Topic: Respawn Process executed in /etc/rc.local (Read 998 times) previous topic - next topic

bilica

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!

sonnyyu

Try daemontools ? ( untest  method )

Code: [Select]
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.

Go Up