Start node directly instead of using npm
This is as per this pull request - https://github.com/tootsuite/mastodon/pull/10032
This commit is contained in:
parent
7b184e9a60
commit
49c7b98e13
@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live
|
||||
Environment="NODE_ENV=production"
|
||||
Environment="PORT=4000"
|
||||
Environment="BIND=127.0.0.1"
|
||||
ExecStart=/usr/bin/npm run start
|
||||
ExecStart=/usr/bin/node ./streaming
|
||||
TimeoutSec=15
|
||||
Restart=always
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user