forked from Bitmessage/buildbot-scripts
11 lines
302 B
Bash
Executable File
11 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
|
|
[ -d /var/lib/buildbot/workers ] || mkdir /var/lib/buildbot/workers
|
|
|
|
buildbot-worker create-worker --use-tls /var/lib/buildbot/workers/default "$1" "$2" "$3"
|
|
|
|
unset BUILDMASTER WORKERNAME WORKERPASS
|
|
|
|
cd /var/lib/buildbot/workers/default
|
|
/usr/bin/dumb-init buildbot-worker start --nodaemon
|