32
33
echo "$PKEY" | uudecode -o ~/.ssh/lp_key
38
39
# Restart buildbot if it is running.
41
42
BUILDBOT_PID=`cat $PIDFILE`
42
43
if kill -0 $BUILDBOT_PID; then
43
44
# Buildbot is running, reconfigure it.
44
45
juju-log "Reconfiguring buildbot"
46
47
juju-log "Buildbot reconfigured"