re-wrap all bundle invocations with flock refs #18770
[arvados.git] / tools / arvbox / lib / arvbox / docker / service / gitolite / run-service
index 55aff375fc73ea0f72469433727fda9f226b6996..5f2cbc8825f9fe94307491aca748cc26e4f8f1c5 100755 (executable)
@@ -125,6 +125,6 @@ $RAILS_ENV:
 EOF
 
 while true ; do
-    bundle exec script/arvados-git-sync.rb $RAILS_ENV
+    flock $GEMLOCK bundle exec script/arvados-git-sync.rb $RAILS_ENV
     sleep 120
 done