Can anybody tell me how to handle the software watchdog in Linux?
I have a program SampleApplication which runs continuously and I need to restart it if
SampleApplication
Use /etc/inittab you can utilize it to start in the specific run levels and if it is killed it shall be restarted automatically
/etc/inittab
n:2345:respawn:/path/to/app
This will make it respawn in run levels 2345 you probably only need 3 and 5 but this will work fine and is built into Linux.