I've got a golang program that I want to restart after it terminates on a Debian Squeeze box. The thing is serving HTTP behind an Apache 2 mod_proxy setup. I don't expect the process to fail, but I'd like to have some insurance against it.
On Ubuntu I would have used upstart to keep the process alive. Debian doesn't like Upstart from what I understand as it is an init replacement.
Is there an alternative which restarts one or more processes after they terminate that works on Squeeze and plays nice with init?