Revert "chore(cleanup): lxc-helpers does not need a global lock (#1047)"
This reverts commit 996ac343ee.
This commit is contained in:
parent
44f4557005
commit
badc918e60
1 changed files with 2 additions and 0 deletions
|
|
@ -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}}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue