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

Attachment: cruisecontrolrb
Description: Binary data

_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to