gitea: Fix HealthCmd for shell redirect pattern

This commit is contained in:
Alex Palaistras 2023-10-29 16:52:27 +00:00
parent 9dfd940eab
commit c81789ae69

View File

@ -7,7 +7,7 @@ After=container-build@%N.service container-volume@%N.service lldap.service
AutoUpdate=local AutoUpdate=local
ContainerName=%N ContainerName=%N
EnvironmentFile=%E/coreos-home-server/%N/%N.env EnvironmentFile=%E/coreos-home-server/%N/%N.env
HealthCmd=timeout 5s curl --fail --silent --show-error localhost:8080/api/healthz > /dev/null HealthCmd=timeout 5s curl --fail --silent --show-error -o /dev/null localhost:8080/api/healthz
Image=localhost/%N:latest Image=localhost/%N:latest
Network=internal Network=internal
PodmanArgs=--sdnotify=healthy PodmanArgs=--sdnotify=healthy