THIS IS OLD AND PROBABLY SHOULDN'T BE USED. IN FACT IF YOU ARE LOOKING TO PROXY RUBY SHIT:
Service script for the load balancer to allow multiple pen instances to be ran as a service.
This is a modification of Coda Hale's very useful "pen-service_0.2" which allows pen to be ran as a service. This version adds the ability to have multiple conf files in /etc/pen to create multiple instances of pen.
Thanks Coda! - To see Coda's great original post on Pound vs. Pen, how to get things rolling with this kind of setup, and the original pen-service, visit his blog at http://blog.codahale.com/2006/11/07/pound-vs-pen-because-you-need-a-load-balancing-proxy/
INSTALLATION (mostly taken from Coda's original instructions)
After downloading packofpens-service_0.2.tar.gz from the download section:
server:~$ tar -xzvf packofpens-service_0.2.tar.gz
server:~$ cd packofpens-service
server:~$ sudo mkdir /etc/pen
server:~$ sudo mv project1.conf /etc/pen
server:~$ sudo mv packofpens /etc/init.d/pen
server:~$ sudo chmod +x /etc/init.d/pen
server:~$ sudo update-rc.d pen defaults
This last command is distribution specific, you may have to use a different way of entering packofpens into your rc.d .
After this, edit your conf files in /etc/pen to suit your needs!
These details are provided for information only. No information here is legal advice and should not be used as such.