summarylogtreecommitdiffstats
path: root/mastodon-streaming.service
blob: 0e615853807ae292f0ac79ab6a2e2d55de4d8bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Mastodon streaming API service
After=network.target

[Service]
Type=simple
User=mastodon
WorkingDirectory=/var/lib/mastodon
Environment="NODE_ENV=production"
Environment="PORT=4000"
ExecStart=/usr/bin/npm run start
TimeoutSec=15
Restart=always

[Install]
WantedBy=multi-user.target