aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-streaming.service
blob: dd9a605010caf20d68083ed2afc72b9ae046383e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
 Description=__APP__-streaming
 After=network.target

[Service]
 Type=simple
 User=__APP__
 WorkingDirectory=__FINALPATH__/live
 Environment="NODE_ENV=production"
 Environment="PORT=__PORT_STREAM__"
 Environment="STREAMING_CLUSTER_NUM=1"
 Environment="__YNH_NODE_LOAD_PATH__"
 ExecStart=__YNH_NODE__ ./streaming
 TimeoutSec=15
 Restart=always
 StandardError=syslog

[Install]
 WantedBy=multi-user.target