commit 5fc4e6c5354cfe3affa7b2584080e18abdf147b3 parent 2ef3a0b8b754a172be2dd9eba3539f8320249723 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 12 Jan 2025 15:09:28 +0100 -more scripts Diffstat:
| M | buildbot/make-buildbot-containerworker.sh | | | 2 | ++ |
| M | systemd-services/buildbot-worker-container.service | | | 6 | +++--- |
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/buildbot/make-buildbot-containerworker.sh b/buildbot/make-buildbot-containerworker.sh @@ -10,6 +10,8 @@ if ! test "container-worker" = $(whoami); then exit 1 fi +mkdir -p workspace + if [[ ! -d worker ]]; then buildbot-worker create-worker --umask=0o22 ~/worker 127.0.0.1:9988 container-worker container-pass fi diff --git a/systemd-services/buildbot-worker-container.service b/systemd-services/buildbot-worker-container.service @@ -6,9 +6,9 @@ AssertPathExists=/home/container-worker/worker User=container-worker Group=container-worker WorkingDirectory=~ -ExecStart=/home/buildbot-master/.local/bin/buildbot-worker start --nodaemon worker -ExecReload=/home/buildbot-master/.local/bin/buildbot-worker sighup worker -ExecStop=/home/buildbot-master/.local/bin/buildbot-worker stop worker +ExecStart=/home/container-worker/.local/bin/buildbot-worker start --nodaemon worker +ExecReload=/home/container-worker/.local/bin/buildbot-worker sighup worker +ExecStop=/home/container-worker/.local/bin/buildbot-worker stop worker Restart=always [Install]