Skip to content
Snippets Groups Projects
Commit 32dd181a authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

fixup! fixup! Fix cron subprocess terminates silently

parent 33669c8c
No related branches found
No related tags found
No related merge requests found
......@@ -69,16 +69,11 @@ spec:
- mountPath: /opt/lindat-dspace/installation/assetstore
name: dspace-assetstore
livenessProbe:
httpGet:
host: clarin-dev.eurac.edu
path: /repository/xmlui/
port: 443
scheme: HTTPS
exec:
command:
- /bin/sh
- -c
- reply=$(curl -s -o /dev/null -w %{http_code} https://clarin-dev.eurac.edu/repository/xmlui/); if [ "$reply" -lt 200 -o "$reply" -ge 400 ]; then exit 1; fi; ps aux | grep -v grep | grep -E "sleep|t imeout" && exit 0 || exit 1;
- reply=$(curl -s -o /dev/null -w %{http_code} https://clarin-dev.eurac.edu/repository/xmlui/); if [ "$reply" -lt 200 -o "$reply" -ge 400 ]; then exit 1; fi; ps aux | grep -v grep | grep -E "sleep|timeout" && exit 0 || exit 1;
initialDelaySeconds: 900
periodSeconds: 15
timeoutSeconds: 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment