[Cruisecontrolrb-users] Alternative init.d script for debian-based systems

Robert Coup
Wed, 26 Sep 2007 05:32:20 -0000

Hi All,

I''ve written a slightly more mature init script for linux systems that
use start-stop-daemon (debian, ubuntu, etc) which is attached.

Its not perfect by any means, but you can edit
/etc/default/cruisecontrolrb and put in
 CCRBUSER=buildmonkey
 CCRBDIR=/home/buildmonkey/cruisecontrol.rb
to run ccrb daemon as the buildmonkey user in the above path. It
cleans up mongrel and the builders when stopped, and also supports
restarting.

Tested on Ubuntu Feisty but ymmv...

Cheers,

Rob :)

--
One Track Mind Ltd.
PO Box 1604, Shortland St, Auckland, New Zealand
Phone +64-9-966 0433 Fax +64-9-969 0045
Web http://www.onetrackmind.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070926/9bf1de2d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cruisecontrolrb
Type: application/octet-stream
Size: 4082 bytes
Desc: not available