diff --git a/mastodon-streaming.service b/mastodon-streaming.service index 5ef1bd2..41da392 100644 --- a/mastodon-streaming.service +++ b/mastodon-streaming.service @@ -10,7 +10,7 @@ RequiresMountsFor=/var/lib/containers/storage /var/run/containers/storage Environment=PODMAN_SYSTEMD_UNIT=%n Restart=on-failure TimeoutStopSec=70 -ExecStart=/usr/bin/podman run -d --name mastodon-streaming --net external_network --net internal_network --restart always --env-file %h/live/.env.production --health-cmd "CMD-SHELL,wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1" -p 127.0.0.1:4000:4000 localhost/jademoe node ./streaming +ExecStart=/usr/bin/podman run -d --name mastodon-streaming --net external_network --net internal_network --restart always --env-file %h/live/.env.production --health-cmd "CMD-SHELL,wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1" -p 127.0.0.1:4000:4000 localhost/jadestream /bin/node ./streaming ExecStop=/usr/bin/podman stop mastodon-streaming ExecStopPost=/usr/bin/podman rm mastodon-streaming