diff --git a/roles/mastodon-systemd/files/mastodon-streaming.service b/roles/mastodon-systemd/files/mastodon-streaming.service index ac927fb..9b18d4e 100644 --- a/roles/mastodon-systemd/files/mastodon-streaming.service +++ b/roles/mastodon-systemd/files/mastodon-streaming.service @@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live Environment="NODE_ENV=production" Environment="PORT=4000" Environment="BIND=127.0.0.1" -ExecStart=/usr/bin/npm run start +ExecStart=/usr/bin/node ./streaming TimeoutSec=15 Restart=always