aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-streaming.service
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-05-10 02:00:48 +0200
committeryalh76 <yalh@yahoo.com>2019-05-10 02:00:48 +0200
commit2987ccf8b3aa393dbef79b874dfe5839a0ee10da (patch)
tree67aea4330d8c46fe8fc502f2091f88264b2bcc20 /conf/mastodon-streaming.service
parenteeec0653ac3e2c38bf6c46c93fdecf28d8dae1ab (diff)
parent11f2ee86cdad204655f6b5ea398c65e9693ea381 (diff)
downloadmastodon_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.service6
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