ReferencePlatforms/Linux-CentOS-5.0: Difference between revisions

Line 333: Line 333:
  CXX=/tools/gcc/bin/g++
  CXX=/tools/gcc/bin/g++


== Unittest slave note ==
== metacity / Xvfb crontabs ==


Note [[Unittest:Linux:Moz2:ITSupport#4._Rebooting_a_Slave]] when starting up buildbot.
Add the following to cltbld's crontab:
<pre>
# Make sure Xvfb is running on :2
@reboot    ps -C Xvfb | grep -q Xvfb || exec Xvfb :2 -screen 0 1280x1024x24 &
*/5 * * * * ps -C Xvfb | grep -q Xvfb || exec Xvfb :2 -screen 0 1280x1024x24 &
 
# Make sure metacity is running on :2
@reboot    ps -C metacity -f | grep -q :2 || exec metacity --display :2 --replace &
*/5 * * * * ps -C metacity -f | grep -q :2 || exec metacity --display :2 --replace &
</pre>
Confirmed users
2,456

edits