Hmmm, use daemon to start the processes, (use one of the other init.d startup scripts as a model). Then just write out a pid file to /var/run or something, have a cron.hourly job that ps -ef | grep pid#, if it doesnt find anything, have it run the init.d startup script.
Shouldnt be too hard to make. I'd make a shorter term cron though, I created a cron.tenminute job and stuck it into crontab so i could update my dns ip on a more regular basis. Waiting an hour for my ip to update is a bit long.
Anyways, just a suggestion. Ive thought about doing it for awhile, but I want to wait for things to stabilize out a bit before I start running a 24/7 server.
|