Open ebeckm opened 10 years ago
test this
test this
test this
Tested on Ubuntu 14.04
Thanks for this. Sorry, I've been traveling so my reply is a bit late. I think it's great to have an runit implementation there. I think it might be best to look at this as something a Makefile target could generate on the fly. In this way, you don't have to have it if you're not using runit, but when you do need it, you can generate it as required with the proper paths/etc all setup for you.
Let me know if you need a hand with any Make magic or if I'm mis-understanding how this is meant to work.
An example runit file for keeping a web server running. Helpful, for example, when your hosting provider periodically reboots your machine.