From 04c554cdefe1e2baf009b3a7a6995a50dacc6d9e Mon Sep 17 00:00:00 2001 From: Octopus Octopus Date: Mon, 1 Apr 2024 20:12:26 -0500 Subject: [PATCH] fix mastodon streaming stopping/deleting mastodon-web --- mastodon-streaming.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mastodon-streaming.service b/mastodon-streaming.service index bdb75f6..5ef1bd2 100644 --- a/mastodon-streaming.service +++ b/mastodon-streaming.service @@ -12,8 +12,8 @@ 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 -ExecStop=/usr/bin/podman stop mastodon-web -ExecStopPost=/usr/bin/podman rm mastodon-web +ExecStop=/usr/bin/podman stop mastodon-streaming +ExecStopPost=/usr/bin/podman rm mastodon-streaming Type=oneshot RemainAfterExit=yes