summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-03-20 03:07:27 +0300
committerDevaev Maxim <[email protected]>2020-03-20 03:07:27 +0300
commitd5ae32b1326fc5ac9207193d7679b34e0ceec4c7 (patch)
tree43bb961fd3006c06dffec900a2c84fb8387302c0 /configs/os
parentab6264bd5e65497121139eab6deae353e06d592f (diff)
vnc
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/services/kvmd-vnc.service16
-rw-r--r--configs/os/sysusers.conf3
2 files changed, 19 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-vnc.service b/configs/os/services/kvmd-vnc.service
new file mode 100644
index 00000000..f72fc44e
--- /dev/null
+++ b/configs/os/services/kvmd-vnc.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Pi-KVM - VNC to KVMD/Streamer proxy
+After=kvmd.service
+
+[Service]
+User=kvmd-vnc
+Group=kvmd-vnc
+Type=simple
+Restart=always
+RestartSec=3
+
+ExecStart=/usr/bin/kvmd-vnc
+TimeoutStopSec=3
+
+[Install]
+WantedBy=multi-user.target
diff --git a/configs/os/sysusers.conf b/configs/os/sysusers.conf
index 2714ae70..84c465bd 100644
--- a/configs/os/sysusers.conf
+++ b/configs/os/sysusers.conf
@@ -1,9 +1,11 @@
g kvmd - -
g kvmd-ipmi - -
+g kvmd-vnc - -
g kvmd-nginx - -
u kvmd - "Pi-KVM - The main daemon" -
u kvmd-ipmi - "Pi-KVM - IPMI to KVMD proxy" -
+u kvmd-vnc - "Pi-KVM - VNC to KVMD/Streamer proxy" -
u kvmd-nginx - "Pi-KVM - HTTP entrypoint" -
m kvmd gpio
@@ -11,5 +13,6 @@ m kvmd uucp
m kvmd systemd-journal
m kvmd-ipmi kvmd
+m kvmd-vnc kvmd
m kvmd-nginx kvmd