perf: run node directly when streaming (#10032)

stable-2.7
Nolan Lawson 2019-02-13 09:52:36 -08:00 committed by Eugen Rochko
parent 1ad0d232b3
commit 77a71236ad
1 changed files with 1 additions and 1 deletions

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