mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
meta, refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
9
configs/kvmd/meta.yaml
Normal file
9
configs/kvmd/meta.yaml
Normal file
@@ -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: {}
|
||||
Reference in New Issue
Block a user