diff options
| author | yalh76 <yalh@yahoo.com> | 2019-05-10 02:00:48 +0200 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-05-10 02:00:48 +0200 |
| commit | 2987ccf8b3aa393dbef79b874dfe5839a0ee10da (patch) | |
| tree | 67aea4330d8c46fe8fc502f2091f88264b2bcc20 /conf/mastodon-streaming.service | |
| parent | eeec0653ac3e2c38bf6c46c93fdecf28d8dae1ab (diff) | |
| parent | 11f2ee86cdad204655f6b5ea398c65e9693ea381 (diff) | |
| download | mastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.tar.gz mastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.tar.bz2 mastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.zip | |
Merge branch 'develop'
Diffstat (limited to 'conf/mastodon-streaming.service')
| -rw-r--r-- | conf/mastodon-streaming.service | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/conf/mastodon-streaming.service b/conf/mastodon-streaming.service index 443cac0..2e130d5 100644 --- a/conf/mastodon-streaming.service +++ b/conf/mastodon-streaming.service @@ -7,8 +7,10 @@ User=__APP__ WorkingDirectory=__FINALPATH__/live Environment="NODE_ENV=production" - Environment="PORT=4000" - ExecStart=/usr/bin/npm run start + Environment="PORT=__PORT_STREAM__" + Environment="STREAMING_CLUSTER_NUM=1" + Environment=PATH=__NODEJS_PATH__ + ExecStart=__NODEJS_PATH__/node ./streaming TimeoutSec=15 Restart=always StandardError=syslog |
