Change BUILDMASTER to CONNECTIONSTRING

This commit is contained in:
Peter Šurda 2024-03-03 20:18:34 +08:00
parent 9d1a28c49f
commit d9356bbd1e
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
buildbot-worker create-worker /var/lib/buildbot/workers/default "$1" "$2" "$3" buildbot-worker create-worker /var/lib/buildbot/workers/default --connection-string "$1" "$2" "$3"
unset BUILDMASTER BUILDMASTER_PORT WORKERNAME WORKERPASS unset CONNECTIONSTRING WORKERNAME WORKERPASS
cd /var/lib/buildbot/workers/default cd /var/lib/buildbot/workers/default
/usr/bin/dumb-init buildbot-worker start --nodaemon /usr/bin/dumb-init buildbot-worker start --nodaemon