2
# Here put anything that is needed to start the service.
3
# Note that currently this is run directly after install
4
# i.e. 'service apache2 start'
6
BUILDBOT_DIR=`config-get installdir`
8
juju-log "Creating master in $BUILDBOT_DIR"
10
buildbot create-master $BUILDBOT_DIR
12
cp $CHARM_DIR/configuration/master.cfg.template $BUILDBOT_DIR/master.cfg
14
juju-log "Starting buildbot"
15
buildbot start $BUILDBOT_DIR
17
juju-log "Finished starting buildbot"