blob: 5793f21e4dcadbca96a761b6f80460f983ac38de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=go2rtc streaming daemon
Requires=network-online.target
[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
|