diff options
Diffstat (limited to 'configs/os/services/kvmd-janus.service')
-rw-r--r-- | configs/os/services/kvmd-janus.service | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/configs/os/services/kvmd-janus.service b/configs/os/services/kvmd-janus.service index 9a154d29..5f4b44a8 100644 --- a/configs/os/services/kvmd-janus.service +++ b/configs/os/services/kvmd-janus.service @@ -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 |