about summary refs log tree commit diff
path: root/dist
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2019-02-13 09:52:36 -0800
committerEugen Rochko <eugen@zeonfederated.com>2019-02-13 18:52:36 +0100
commit658b4621a622364d8daf699a7e46c65f3f63486b (patch)
tree947e8588bc3280abac86bce76c500949f82b4375 /dist
parent188f1c7c89d6fc7349302a9680bac9a82515cb90 (diff)
perf: run node directly when streaming (#10032)
Diffstat (limited to 'dist')
-rw-r--r--dist/mastodon-streaming.service2
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