Revert "chore(cleanup): lxc-helpers does not need a global lock (#1047)"

This reverts commit 996ac343ee.
This commit is contained in:
Earl Warren 2025-10-20 16:52:43 +02:00
parent 44f4557005
commit badc918e60
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -193,6 +193,8 @@ var lxcHelpers string
var startTemplate = template.Must(template.New("start").Parse(`#!/bin/bash -e
exec 5<>/tmp/forgejo-runner-lxc.lock ; flock --timeout 21600 5
LXC_CONTAINER_CONFIG="{{.Config}}"
LXC_CONTAINER_RELEASE="{{.Release}}"