ReleaseEngineering/How To/Restart BuildAPI: Difference between revisions
< ReleaseEngineering | How To
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
= Restarting the buildapi web app = | = Restarting the buildapi web app = | ||
While we run buildapi on cruncher you should be root@cruncher and do | |||
cd ~catlee/buildapi-official/ | cd ~catlee/buildapi-official/ | ||
kill `cat paster.pid` | kill `cat paster.pid` | ||
sudo -u catlee /home/catlee/bin/run_buildapi.sh | sudo -i -u catlee /home/catlee/bin/run_buildapi.sh | ||
tail -n 300 -f paster.log | |||
We are planning to move to buildapi01.b.m.o, and once that happens we will do this as root@buildapi | |||
service buildapi restart | |||
tail -n 300 -f buildapi.log | |||
Use the tail to verify that buildapi restarted cleanly. | |||
= Restarting the agent = | = Restarting the agent = | ||
Revision as of 03:50, 8 February 2012
Restarting the buildapi web app
While we run buildapi on cruncher you should be root@cruncher and do
cd ~catlee/buildapi-official/ kill `cat paster.pid` sudo -i -u catlee /home/catlee/bin/run_buildapi.sh tail -n 300 -f paster.log
We are planning to move to buildapi01.b.m.o, and once that happens we will do this as root@buildapi
service buildapi restart tail -n 300 -f buildapi.log
Use the tail to verify that buildapi restarted cleanly.
Restarting the agent
As root@buildbot-master10
service selfserve-agent restart