summarylogtreecommitdiffstats
path: root/stream-server.service
blob: 445c96d65bc108769e6b9acb17139bad02fdfb35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Stream Server - open-source torrent streaming engine (Stremio server.js alternative)
Documentation=https://github.com/perpetus/stream-server
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/stream-server
Restart=on-failure
RestartSec=5

# Security hardening
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=%h/.cache

[Install]
WantedBy=default.target