summarylogtreecommitdiffstats
path: root/service
blob: 8f18f139bba08c11060667d23826a89472ea87e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=go2rtc streaming daemon
Requires=network-online.target
Documentation=file:/usr/doc/go2rtc/README.md

[Service]
User=go2rtc
RuntimeDirectory=go2rtc
RuntimeDirectoryPreserve=restart
ExecStart=/usr/bin/go2rtc --config /etc/go2rtc.yaml --daemon
NoNewPrivileges=yes
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
PrivateDevices=true

[Install]
WantedBy=multi-user.target