From 0376e27c5018e3efa8ff4da0b3fb3b427526b5dc Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Sat, 25 Aug 2018 15:43:03 +0100 Subject: [PATCH] Default streaming to localhost only. --- roles/mastodon-systemd/files/mastodon-streaming.service | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/mastodon-systemd/files/mastodon-streaming.service b/roles/mastodon-systemd/files/mastodon-streaming.service index 72be21b..ac927fb 100644 --- a/roles/mastodon-systemd/files/mastodon-streaming.service +++ b/roles/mastodon-systemd/files/mastodon-streaming.service @@ -8,6 +8,7 @@ User=mastodon WorkingDirectory=/home/mastodon/live Environment="NODE_ENV=production" Environment="PORT=4000" +Environment="BIND=127.0.0.1" ExecStart=/usr/bin/npm run start TimeoutSec=15 Restart=always -- 2.34.1