Browse Source

perf: run node directly when streaming (#10032)

pull/4/head
Nolan Lawson 5 years ago
committed by Eugen Rochko
parent
commit
658b4621a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dist/mastodon-streaming.service

+ 1
- 1
dist/mastodon-streaming.service View File

@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
Environment="PORT=4000" Environment="PORT=4000"
Environment="STREAMING_CLUSTER_NUM=1" Environment="STREAMING_CLUSTER_NUM=1"
ExecStart=/usr/bin/npm run start
ExecStart=/usr/bin/node ./streaming
TimeoutSec=15 TimeoutSec=15
Restart=always Restart=always

Loading…
Cancel
Save