summaryrefslogtreecommitdiff
path: root/configs/os/services/kvmd-janus.service
blob: fc478056169fe964bf97922676b4421d07661364 (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
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/kvmd-janus --run
TimeoutStopSec=5
KillMode=mixed

[Install]
WantedBy=multi-user.target