diff options
| author | anmol26s <5068843+anmol26s@users.noreply.github.com> | 2019-04-18 20:10:37 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-18 20:10:37 +0530 |
| commit | 11f2ee86cdad204655f6b5ea398c65e9693ea381 (patch) | |
| tree | 332e666268f44a1b0ad951faf10582c1a6db58fa /conf/mastodon-streaming.service | |
| parent | 4feccb3125c7bd82a910aff06e674536107e6310 (diff) | |
| parent | 0494ace9aff9eaa8395bc0187f140c0eb975e645 (diff) | |
| download | mastodon_ynh-11f2ee86cdad204655f6b5ea398c65e9693ea381.tar.gz mastodon_ynh-11f2ee86cdad204655f6b5ea398c65e9693ea381.tar.bz2 mastodon_ynh-11f2ee86cdad204655f6b5ea398c65e9693ea381.zip | |
Merge pull request #130 from yalh76/develop
Upgrade to 2.7.4
Diffstat (limited to 'conf/mastodon-streaming.service')
| -rw-r--r-- | conf/mastodon-streaming.service | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/mastodon-streaming.service b/conf/mastodon-streaming.service index 689d482..2e130d5 100644 --- a/conf/mastodon-streaming.service +++ b/conf/mastodon-streaming.service @@ -8,7 +8,9 @@ WorkingDirectory=__FINALPATH__/live Environment="NODE_ENV=production" Environment="PORT=__PORT_STREAM__" - ExecStart=/usr/bin/npm run start + Environment="STREAMING_CLUSTER_NUM=1" + Environment=PATH=__NODEJS_PATH__ + ExecStart=__NODEJS_PATH__/node ./streaming TimeoutSec=15 Restart=always StandardError=syslog |
