backend: use sensible lock filename for git

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-02-20 22:28:35 +01:00
parent 1bbf3a264c
commit 56a913e33c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function run() {
git push --set-upstream origin "${git_branch}"
}
exec {lock_fd}>/var/lock/mylockfile || failed_to_get_lock
exec {lock_fd}>/var/lock/spiff-workflow-git-lock || failed_to_get_lock
flock --timeout 60 "${lock_fd}" || failed_to_get_lock
run
flock -u "${lock_fd}"