mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
janus runner draft
This commit is contained in:
19
configs/os/services/kvmd-janus-norunner.service
Normal file
19
configs/os/services/kvmd-janus-norunner.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[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
|
||||
|
||||
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
|
||||
@@ -1,13 +1,19 @@
|
||||
[Unit]
|
||||
Description=Pi-KVM - Janus WebRTC Gateway (stub)
|
||||
Description=Pi-KVM - Janus WebRTC Gateway
|
||||
After=network.target network-online.target nss-lookup.target kvmd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/true
|
||||
ExecStop=/bin/true
|
||||
RemainAfterExit=true
|
||||
User=kvmd-janus
|
||||
Group=kvmd-janus
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
AmbientCapabilities=CAP_NET_RAW
|
||||
LimitNOFILE=65536
|
||||
|
||||
ExecStart=/usr/bin/kvmd-janus --run
|
||||
TimeoutStopSec=5
|
||||
KillMode=mixed
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user