buddycloud/buddycloud-http-api — pull request #22 by highfellow (2012-10-19 08:40:16+00:00)
Title: Added init script for centos (should work in other distros)

I've added a sysv style init script to contrib/ which works on the centos based webhost I'm using. It should work in other linux distros, but may not always be ideal in that case. (E.g. debian has a built in command which starts and stops daemons).

I'm not 100% sure it will work as a proper init script, since I only have user level access to the host, and I wrote it to use manually as a simple way to daemonise the api server. It's in the right format though, and should work fine.