1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

perf: run node directly when streaming (#10032)

This commit is contained in:
Nolan Lawson 2019-02-13 09:52:36 -08:00 committed by Eugen Rochko
parent 188f1c7c89
commit 658b4621a6

View file

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