summaryrefslogtreecommitdiff
path: root/configs/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-16 06:54:27 +0300
committerDevaev Maxim <[email protected]>2018-11-16 06:54:27 +0300
commit17c6b9e31f9910c30ac660476e7bed8103f3935e (patch)
treea944ac26154930acb31a7d2e725181aaf744dc09 /configs/kvmd
parent4294eed14e94fc63a1eb1fb664de0690b1a16bf5 (diff)
meta, refactoring
Diffstat (limited to 'configs/kvmd')
-rw-r--r--configs/kvmd/kvmd.v1-hdmi.yaml10
-rw-r--r--configs/kvmd/kvmd.v1-vga.yaml10
-rw-r--r--configs/kvmd/meta.yaml9
3 files changed, 23 insertions, 6 deletions
diff --git a/configs/kvmd/kvmd.v1-hdmi.yaml b/configs/kvmd/kvmd.v1-hdmi.yaml
index 1ac41a12..43b3278e 100644
--- a/configs/kvmd/kvmd.v1-hdmi.yaml
+++ b/configs/kvmd/kvmd.v1-hdmi.yaml
@@ -1,9 +1,15 @@
+# Don't touch this file otherwise your device may stop working.
+# You can find a workable configuration in /usr/share/kvmd/configs/kvmd.
+
kvmd:
server:
host: 127.0.0.1
port: 8081
heartbeat: 3.0
+ info:
+ meta: /etc/kvmd/meta.yaml
+
log:
services:
- kvmd.service
@@ -26,7 +32,6 @@ kvmd:
click_delay: 0.1
long_click_delay: 5.5
-
state_poll: 0.1
msd:
@@ -49,6 +54,7 @@ kvmd:
init_delay: 1.0
init_restart_after: 0.0
shutdown_delay: 10.0
+ state_poll: 1.0
quality: 80
desired_fps: 0
@@ -71,6 +77,4 @@ kvmd:
- "--port={port}"
- "--drop-same-frames=30"
- state_poll: 1.0
-
logging: !include logging.yaml
diff --git a/configs/kvmd/kvmd.v1-vga.yaml b/configs/kvmd/kvmd.v1-vga.yaml
index 3065c262..5993176f 100644
--- a/configs/kvmd/kvmd.v1-vga.yaml
+++ b/configs/kvmd/kvmd.v1-vga.yaml
@@ -1,9 +1,15 @@
+# Don't touch this file otherwise your device may stop working.
+# You can find a workable configuration in /usr/share/kvmd/configs/kvmd.
+
kvmd:
server:
host: 127.0.0.1
port: 8081
heartbeat: 3.0
+ info:
+ meta: /etc/kvmd/meta.yaml
+
log:
services:
- kvmd.service
@@ -26,7 +32,6 @@ kvmd:
click_delay: 0.1
long_click_delay: 5.5
-
state_poll: 0.1
msd:
@@ -49,6 +54,7 @@ kvmd:
init_delay: 1.0
init_restart_after: 1.0
shutdown_delay: 10.0
+ state_poll: 1.0
quality: 80
desired_fps: 0
@@ -72,6 +78,4 @@ kvmd:
- "--host={host}"
- "--port={port}"
- state_poll: 1.0
-
logging: !include logging.yaml
diff --git a/configs/kvmd/meta.yaml b/configs/kvmd/meta.yaml
new file mode 100644
index 00000000..65524997
--- /dev/null
+++ b/configs/kvmd/meta.yaml
@@ -0,0 +1,9 @@
+# You can write down any information and it will be available
+# at the address /kvmd/info (if you use default nginx config).
+# If server.host (str) will be defained then this value
+# will be displayed in the web interface.
+
+server:
+ host: localhost
+
+kvm: {}