ReleaseEngineering/How To/Restart BuildAPI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "{{Release Engineering How To|Restart BuildAPI}} '''NB: catlee needs to review this page for accuracy''' = Restarting the buildapi web app = Start channelling Dr Evil and becom...")
 
No edit summary
Line 1: Line 1:
{{Release Engineering How To|Restart BuildAPI}}
{{Release Engineering How To|Restart BuildAPI}}
'''NB: catlee needs to review this page for accuracy'''


= Restarting the buildapi web app =
= Restarting the buildapi web app =


Start channelling Dr Evil and become catlee on cruncher.
As root@cruncher.
   cd ~catlee/buildapi-official/
   cd ~catlee/buildapi-official/
   source ~catlee/.virtualenvs/pylons/bin/activate
   kill `cat paster.pid`
  paster serve --stop-daemon
  sudo -u catlee /home/catlee/bin/run_buildapi.sh
  paster serve --daemon production.ini


= Restarting RabbitMQ server on cruncher =
= Restarting RabbitMQ server on cruncher =

Revision as of 02:51, 14 April 2011


Restarting the buildapi web app

As root@cruncher.

 cd ~catlee/buildapi-official/
 kill `cat paster.pid`
 sudo -u catlee /home/catlee/bin/run_buildapi.sh

Restarting RabbitMQ server on cruncher

Don't know if this is necessary or not.

Restarting the agent

As root@production-master03

service selfserve-agent restart