diff --git a/app.yaml b/app.yaml index 73b36c5..3a95399 100644 --- a/app.yaml +++ b/app.yaml @@ -112,10 +112,18 @@ spec: timeoutSeconds: 10 failureThreshold: 6 livenessProbe: - httpGet: {path: /, port: http} - periodSeconds: 30 - timeoutSeconds: 10 - failureThreshold: 6 + exec: + command: + - sh + - -ec + - | + for service in svc-worker svc-webserver svc-consumer svc-scheduler; do + pid="$(s6-svstat -o pid "/run/service/$service")" + [ "$pid" -gt 0 ] + done + periodSeconds: 60 + timeoutSeconds: 30 + failureThreshold: 30 resources: requests: {cpu: 100m, memory: 1Gi} volumes: