Skip to content

Commit 598fde9

Browse files
committed
Move FreeBSD to its own top-level Unix tab
1 parent 2861775 commit 598fde9

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

testing/new-buildbot-worker.rst

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -138,37 +138,6 @@ the steps below as appropriate if you choose that path.
138138

139139
systemctl enable --now buildbot-worker@WORKERNAME.service
140140

141-
.. tab:: FreeBSD
142-
143-
::
144-
145-
pkg install devel/py-buildbot-worker
146-
147-
The port creates a ``buildbot`` system user (nologin shell, home at
148-
``/var/db/buildbot``) and installs an ``rc.d`` script at
149-
``/usr/local/etc/rc.d/buildbot-worker`` with profile support.
150-
The default base directory is ``/var/db/buildbot/workers``.
151-
152-
Create the worker (replace ``WORKERNAME`` and ``WORKERPASSWD`` with
153-
the credentials provided to you from your buildmaster-config issue)::
154-
155-
su -m buildbot -c "buildbot-worker create-worker \
156-
/var/db/buildbot/workers/WORKERNAME \
157-
buildbot-api.python.org:9020 WORKERNAME WORKERPASSWD"
158-
159-
Edit ``info/admin``, ``info/host``, and ``buildbot.tac`` in the worker
160-
directory (see below for recommended settings).
161-
162-
Enable and start the service. The rc.d script uses profile names as
163-
shell variable identifiers, so pick a short name without hyphens
164-
(it does not need to match the worker name)::
165-
166-
sysrc buildbot_worker_enable=YES
167-
sysrc buildbot_worker_profiles="myworker"
168-
sysrc buildbot_worker_myworker_enable=YES
169-
sysrc buildbot_worker_myworker_basedir=/var/db/buildbot/workers/WORKERNAME
170-
service buildbot-worker start
171-
172141
.. tab:: Other / pip
173142

174143
For distros without a ``buildbot-worker`` package, install via pip::
@@ -212,6 +181,40 @@ the steps below as appropriate if you choose that path.
212181
the service management section below.
213182

214183

184+
.. tab:: Unix
185+
186+
.. tab:: FreeBSD
187+
188+
::
189+
190+
pkg install devel/py-buildbot-worker
191+
192+
The port creates a ``buildbot`` system user (nologin shell, home at
193+
``/var/db/buildbot``) and installs an ``rc.d`` script at
194+
``/usr/local/etc/rc.d/buildbot-worker`` with profile support.
195+
The default base directory is ``/var/db/buildbot/workers``.
196+
197+
Create the worker (replace ``WORKERNAME`` and ``WORKERPASSWD`` with
198+
the credentials provided to you from your buildmaster-config issue)::
199+
200+
su -m buildbot -c "buildbot-worker create-worker \
201+
/var/db/buildbot/workers/WORKERNAME \
202+
buildbot-api.python.org:9020 WORKERNAME WORKERPASSWD"
203+
204+
Edit ``info/admin``, ``info/host``, and ``buildbot.tac`` in the worker
205+
directory (see below for recommended settings).
206+
207+
Enable and start the service. The rc.d script uses profile names as
208+
shell variable identifiers, so pick a short name without hyphens
209+
(it does not need to match the worker name)::
210+
211+
sysrc buildbot_worker_enable=YES
212+
sysrc buildbot_worker_profiles="myworker"
213+
sysrc buildbot_worker_myworker_enable=YES
214+
sysrc buildbot_worker_myworker_basedir=/var/db/buildbot/workers/WORKERNAME
215+
service buildbot-worker start
216+
217+
215218
.. tab:: macOS
216219

217220
* Create a buildbot user using the macOS control panel user admin. It

0 commit comments

Comments
 (0)