I have written a program of TCP server running on OpneWRT OS for MedaTek MT7688 module. Using Init Scripts I am starting my program at boot up. If some how (e.g. segmentation fault) my program get terminated, What is the way to start this program again automatically?
Thanks in advance.