Archive for June 25th, 2008

 

PHPUnderControl (Install cont.)

Jun 25, 2008 in Random

In a previous post, I mentioned I would post the init script I’ve been using to start/stop CruiseControl. It’s not my own work (lifted from teh Internets). Looks like it was originally written by someone from ThoughWorks, but I didn’t find it on a ThoughWorks site & it didn’t come with a licence or copyright notice. Until I’m told otherwise, I guess it’s OK to redistribute.

Download it here

Obviously you’ll need to configure the script for your environment and allocate appropriate permissions. When you’re done, drop it into /etc/init.d/ and CruiseControl will automatically start during your server’s init routines. Also, when trying to stop the process, rather than scanning ps output trying to find the correct pid to kill, you just run:

# sudo /etc/init.d/cruisecontrol stop