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:
Sadiq Saif 2019-02-17 14:25:15 -05:00 committed by GitHub
parent 7b184e9a60
commit 49c7b98e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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="BIND=127.0.0.1" Environment="BIND=127.0.0.1"
ExecStart=/usr/bin/npm run start ExecStart=/usr/bin/node ./streaming
TimeoutSec=15 TimeoutSec=15
Restart=always Restart=always