diff --git a/imageroot/systemd/user/traefik.service b/imageroot/systemd/user/traefik.service index 3b56267..75a3587 100644 --- a/imageroot/systemd/user/traefik.service +++ b/imageroot/systemd/user/traefik.service @@ -21,7 +21,7 @@ ExecStart=/usr/bin/podman run \ --volume=./configs:/etc/traefik/configs:Z \ --volume=./custom_certificates:/etc/traefik/custom_certificates:Z \ ${TRAEFIK_IMAGE} -ExecStartPost=runagent write-hosts +ExecStartPost=-runagent write-hosts ExecStop=/usr/bin/podman stop --ignore --cidfile %t/traefik.ctr-id -t 15 ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/traefik.ctr-id PIDFile=%t/traefik.pid