[SAC] Buildbot startup on boot - who?

Folks,

I can't remember who configured buildbot startup on boot.
I don't think I did it, because I use cron job for this:

# crontab -e
@reboot buildbot start <instance>

As I see, there is no such entry in crontab for buildbot user (also
nothing for root, mloskot or frankw).

If anyone remembers how do we start buildbot on boot,
could you please tell me this secret?

For now, I've updated buildbot_start.sh script in /osgeo/buildbot to pass
buildbot through nice command with +10 level. It would be good to assure
that the same policy is applied for buildbot started on boot.
So, we can safe xblade14-2 resources.

Best regards,
--
Mateusz Loskot
http://mateusz.loskot.net

Mateusz Loskot wrote:

Folks,

I can't remember who configured buildbot startup on boot.
I don't think I did it, because I use cron job for this:

# crontab -e
@reboot buildbot start <instance>

As I see, there is no such entry in crontab for buildbot user (also
nothing for root, mloskot or frankw).

If anyone remembers how do we start buildbot on boot,
could you please tell me this secret?

For now, I've updated buildbot_start.sh script in /osgeo/buildbot to pass
buildbot through nice command with +10 level. It would be good to assure
that the same policy is applied for buildbot started on boot.
So, we can safe xblade14-2 resources.

Mateusz,

To the best of my knowledge buildbot does not start automatically on
reboot, which is why I tend to screw things up starting it manually as
me or root.

I would encourage you to add it in some appropriate way.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent

Frank Warmerdam wrote:

Mateusz Loskot wrote:

Folks,

I can't remember who configured buildbot startup on boot.
I don't think I did it, because I use cron job for this:

# crontab -e
@reboot buildbot start <instance>

As I see, there is no such entry in crontab for buildbot user (also
nothing for root, mloskot or frankw).

If anyone remembers how do we start buildbot on boot,
could you please tell me this secret?

For now, I've updated buildbot_start.sh script in /osgeo/buildbot to
pass
buildbot through nice command with +10 level. It would be good to assure
that the same policy is applied for buildbot started on boot.
So, we can safe xblade14-2 resources.

Mateusz,

To the best of my knowledge buildbot does not start automatically on
reboot, which is why I tend to screw things up starting it manually as
me or root.

Frank,

That explains why I could not find any settings.

I would encourage you to add it in some appropriate way.

Sure, I will.

Best regards,
--
Mateusz Loskot
http://mateusz.loskot.net

Mateusz Loskot wrote:

Folks,

I can't remember who configured buildbot startup on boot.
I don't think I did it, because I use cron job for this:

# crontab -e
@reboot buildbot start <instance>

I've configured on boot startup of Buildbot instances:

-sh-3.00$ whoami
buildbot

-sh-3.00$ crontab -l
SHELL=/bin/sh
MAILTO=mloskot
OSGEOBUILDHOME=/osgeo/buildbot
#
# On Boot, clean Buildbot logs and start all instances
#
@reboot $OSGEOBUILDHOME/buildbot_clean_logs.sh

I believe it will work well.
If anyone will notice any problems, please report them and I'll fix.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

Mateusz Loskot wrote:

Mateusz Loskot wrote:

Folks,

I can't remember who configured buildbot startup on boot.
I don't think I did it, because I use cron job for this:

# crontab -e
@reboot buildbot start <instance>

I've configured on boot startup of Buildbot instances:

-sh-3.00$ whoami
buildbot

-sh-3.00$ crontab -l
SHELL=/bin/sh
MAILTO=mloskot
OSGEOBUILDHOME=/osgeo/buildbot
#
# On Boot, clean Buildbot logs and start all instances
#
@reboot $OSGEOBUILDHOME/buildbot_clean_logs.sh

I believe it will work well.
If anyone will notice any problems, please report them and I'll fix.

Folks,

I've updated the Buildbot Wiki and added section about Buildbot maintenance documenting basic operations on how to start/stop/restart etc.

http://wiki.osgeo.org/wiki/BuildBot_Configuration

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org