summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd-janus-norunner.service
blob: 82a1e4a51cd10de547c1e186ecf608cb5281bf2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Pi-KVM - Janus WebRTC Gateway (No Runner)
After=network.target network-online.target nss-lookup.target kvmd.service

[Service]
User=kvmd-janus
Group=kvmd-janus
Type=simple
Restart=always
RestartSec=3
AmbientCapabilities=CAP_NET_RAW
LimitNOFILE=65536
UMask=0117  # Crutch for UNIX socket perms

ExecStart=/usr/bin/janus --disable-colors --plugins-folder=/usr/lib/ustreamer/janus --configs-folder=/etc/kvmd/janus
TimeoutStopSec=5
KillMode=mixed

[Install]
WantedBy=multi-user.target