diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2019-02-13 09:52:36 -0800 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-02-13 18:52:36 +0100 |
commit | 658b4621a622364d8daf699a7e46c65f3f63486b (patch) | |
tree | 947e8588bc3280abac86bce76c500949f82b4375 | |
parent | 188f1c7c89d6fc7349302a9680bac9a82515cb90 (diff) |
perf: run node directly when streaming (#10032)
-rw-r--r-- | dist/mastodon-streaming.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/mastodon-streaming.service b/dist/mastodon-streaming.service index 5d7c129df..c324fccf4 100644 --- a/dist/mastodon-streaming.service +++ b/dist/mastodon-streaming.service @@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live Environment="NODE_ENV=production" Environment="PORT=4000" Environment="STREAMING_CLUSTER_NUM=1" -ExecStart=/usr/bin/npm run start +ExecStart=/usr/bin/node ./streaming TimeoutSec=15 Restart=always |