Skip to content

Commit

Permalink
Start tailing the plugins log when they are present
Browse files Browse the repository at this point in the history
  • Loading branch information
fxusyd authored Feb 4, 2024
1 parent 0db45df commit a448110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releases/xnat/charts/xnat-web/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
- name: {{ .Chart.Name }}-pluginlogs
image: debian:bullseye-slim
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: ["/bin/bash", "-c", "sleep 60 && tail -f /data/xnat/home/logs/*.log"]
args: ["/bin/bash", "-c", "while [ ! -f /data/xnat/home/logs/*.log ]; do sleep 15; done; tail -f /data/xnat/home/logs/*.log;"]
volumeMounts:
- name: xnat-home
mountPath: /data/xnat/home
Expand Down

0 comments on commit a448110

Please sign in to comment.