summaryrefslogtreecommitdiff
path: root/configs/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-05-09 20:52:15 +0300
committerDevaev Maxim <[email protected]>2019-05-09 20:52:15 +0300
commitdef5346b4bb0572f3d35df23f988e79a925dfcd8 (patch)
tree40e69a45cacc3f4678df4a22c9020295f24bc8bf /configs/kvmd
parenta972e35f7af8ade0e827a30a7ff84404c0e1a2d4 (diff)
using unix sockets
Diffstat (limited to 'configs/kvmd')
-rw-r--r--configs/kvmd/main/v1-hdmi.yaml16
-rw-r--r--configs/kvmd/main/v1-vga.yaml16
2 files changed, 16 insertions, 16 deletions
diff --git a/configs/kvmd/main/v1-hdmi.yaml b/configs/kvmd/main/v1-hdmi.yaml
index 7b886167..64dfbffb 100644
--- a/configs/kvmd/main/v1-hdmi.yaml
+++ b/configs/kvmd/main/v1-hdmi.yaml
@@ -5,8 +5,9 @@ logging: !include logging.yaml
kvmd:
server:
- host: 127.0.0.1
- port: 8081
+ unix: /run/kvmd.sock
+ unix_rm: true
+ unix_mode: 0660
auth: !include auth.yaml
@@ -26,8 +27,7 @@ kvmd:
device: /dev/kvmd-msd
streamer:
- host: 127.0.0.1
- port: 8082
+ unix: /run/ustreamer.sock
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-video"
@@ -38,11 +38,11 @@ kvmd:
- "--workers=3"
- "--quality={quality}"
- "--desired-fps={desired_fps}"
- - "--host={host}"
- - "--port={port}"
- "--drop-same-frames=30"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0660"
ipmi:
kvmd:
- host: 127.0.0.1
- port: 8081
+ unix: /run/kvmd.sock
diff --git a/configs/kvmd/main/v1-vga.yaml b/configs/kvmd/main/v1-vga.yaml
index 4a9baddc..0ace92e0 100644
--- a/configs/kvmd/main/v1-vga.yaml
+++ b/configs/kvmd/main/v1-vga.yaml
@@ -5,8 +5,9 @@ logging: !include logging.yaml
kvmd:
server:
- host: 127.0.0.1
- port: 8081
+ unix: /run/kvmd.sock
+ unix_rm: true
+ unix_mode: 0660
auth: !include auth.yaml
@@ -29,8 +30,7 @@ kvmd:
cap_pin: 17
conv_pin: 18
init_restart_after: 1
- host: 127.0.0.1
- port: 8082
+ unix: /run/ustreamer.sock
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-video"
@@ -43,10 +43,10 @@ kvmd:
- "--height=576"
- "--fake-width=800"
- "--fake-height=600"
- - "--host={host}"
- - "--port={port}"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0660"
ipmi:
kvmd:
- listen: 127.0.0.1
- port: 8081
+ unix: /run/kvmd.sock