On solaris (I'm not sure about other Unices) I think I started it at a run level that the system monitors and restarts automatically if it dies, just like sendmail and some other processes. You'd need to consult your user manual for your Unix version about 'run levels' and start-up commands.
Looking at the script, I'm assuming you'd be using this as a 'start up' script? Then having the system run this script like cron, making sure this script doesn't die?? <G>??
Gets sort of complicated.
Looking at the script, I'm assuming you'd be using this as a 'start up' script? Then having the system run this script like cron, making sure this script doesn't die?? <G>??
Gets sort of complicated.