fix mastodon streaming stopping/deleting mastodon-web

This commit is contained in:
Octopus Octopus 2024-04-01 20:12:26 -05:00
parent d9accb5dbd
commit 04c554cdef
1 changed files with 2 additions and 2 deletions

View File

@ -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