blob: 3fc6228970763f5b086b66d7dadeb87dc3011e34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=Pi-KVM - Janus WebRTC Gateway (Static Config)
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
# Crutch for UNIX socket perms
UMask=0117
ExecStart=/usr/bin/janus --disable-colors --plugins-folder=/usr/lib/ustreamer/janus --configs-folder=/etc/kvmd/janus
TimeoutStopSec=10
KillMode=mixed
[Install]
WantedBy=multi-user.target
|