Skip to content

Commit

Permalink
Fix subtle sh/bash bug that becomes apparent with ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Jun 3, 2024
1 parent d415fdc commit bdf01e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions kubernetes/loculus/silo_import_wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

while true
do
sh /silo_import_job.sh
while true; do
bash /silo_import_job.sh
sleep 30
done
done
2 changes: 1 addition & 1 deletion kubernetes/loculus/templates/lapis-silo-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
requests:
memory: "20Mi"
command:
- sh
- bash
- /silo_import_wrapper.sh
env:
- name: BACKEND_BASE_URL
Expand Down

0 comments on commit bdf01e0

Please sign in to comment.