I wrote a server program for my company and now I'd like to keep it running on the ubuntu server.
I was thinking of setting a cronjob to restart the entire system once a week (for security purposes, to clear RAM in case of memory leaks which I still haven't found.. etc..) but I'm not sure how should I keep the process up.
Right now I'm doing a
screen
./launch_server
and detaching it. Is this a good way to run a web-exposed program on a server? Do I need something like daemontools or runit for whatever reason?