using unix sockets

This commit is contained in:
Devaev Maxim
2019-05-09 20:52:15 +03:00
parent a972e35f7a
commit def5346b4b
9 changed files with 43 additions and 34 deletions

View File

@@ -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

View File

@@ -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