Robert Coup
2007-Sep-26 05:32 UTC
[Cruisecontrolrb-users] Alternative init.d script for debian-based systems
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 Url : http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070926/9bf1de2d/attachment.obj