Browse Source

perf: run node directly when streaming (#10032)

Nolan Lawson 3 months ago
parent
commit
77a71236ad
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
9 9
 Environment="NODE_ENV=production"
10 10
 Environment="PORT=4000"
11 11
 Environment="STREAMING_CLUSTER_NUM=1"
12
-ExecStart=/usr/bin/npm run start
12
+ExecStart=/usr/bin/node ./streaming
13 13
 TimeoutSec=15
14 14
 Restart=always
15 15
 

Loading…
Cancel
Save