From 2f2ad87462961c5632e62919d530c6a9323b0a80 Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@nic.ar> Date: Wed, 26 Sep 2018 18:36:55 -0300 Subject: [PATCH] flock before echo --- bin/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start.sh b/bin/start.sh index edf2818..e104738 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -57,8 +57,8 @@ fi # Start the node. ( - echo ${BASHPID} > ${BFANODEDIR}/start-loop.pid flock --nonblock --exclusive 9 || exit 1 + echo ${BASHPID} > ${BFANODEDIR}/start-loop.pid while : do echo -- GitLab