bookieio / Bookie

Python based delicious.com replacement
GNU Affero General Public License v3.0
633 stars 138 forks source link

Feature runit for webservice #493

Open ebeckm opened 10 years ago

ebeckm commented 10 years ago

An example runit file for keeping a web server running. Helpful, for example, when your hosting provider periodically reboots your machine.

bookiebot commented 10 years ago

test this

bookiebot commented 10 years ago

test this

bookiebot commented 10 years ago

test this

ebeckm commented 10 years ago

Tested on Ubuntu 14.04

mitechie commented 10 years ago

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.