summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-06-30 05:55:02 +0300
committerDevaev Maxim <[email protected]>2018-06-30 06:04:43 +0300
commitc0aee642467655952d701e37f284a7a589d638e2 (patch)
tree8099740f9a2c28b8354f3d2154fd857aa4d420a3 /kvmd
parent0cfb3c5dbc91fa8f4c33114beb36c356965f497f (diff)
reorganized project structure
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/PKGBUILD3
l---------[-rw-r--r--]kvmd/kvmd.yaml64
2 files changed, 1 insertions, 66 deletions
diff --git a/kvmd/PKGBUILD b/kvmd/PKGBUILD
index 612f8fd1..59873b39 100644
--- a/kvmd/PKGBUILD
+++ b/kvmd/PKGBUILD
@@ -15,7 +15,6 @@ depends=(
"python-aiohttp"
"python-raspberry-gpio"
)
-backup=("etc/kvmd.yaml")
makedepends=("python-setuptools" "wget")
@@ -37,7 +36,5 @@ build() {
package() {
cd $srcdir/$pkgname-build
python setup.py install --root=$pkgdir
-
- install -Dm644 kvmd.yaml $pkgdir/etc/kvmd.yaml
install -Dm644 kvmd.service "$pkgdir"/usr/lib/systemd/system/kvmd.service
}
diff --git a/kvmd/kvmd.yaml b/kvmd/kvmd.yaml
index 3dcc8d04..19ece673 100644..120000
--- a/kvmd/kvmd.yaml
+++ b/kvmd/kvmd.yaml
@@ -1,63 +1 @@
-kvmd:
- server:
- host: localhost
- port: 8081
- heartbeat: 3.0
-
- keyboard:
- pinout:
- clock: 17
- data: 4
- pulse: 0.0002
-
- atx:
- leds:
- pinout:
- power: 16
- hdd: 12
- poll: 0.1
-
- switches:
- pinout:
- power: 26
- reset: 20
- click_delay: 0.1
- long_click_delay: 5.5
-
- video:
- pinout:
- cap: 21
- conv: 25
- sync_delay: 1.0
-
- shutdown_delay: 10.0
-
- cmd:
- - "/usr/bin/mjpg_streamer"
- - "-i"
- - "input_uvc.so -d /dev/video0 -e 2 -y -n -r 720x576"
- - "-o"
- - "output_http.so -l localhost -p 8082"
-
-logging:
- version: 1
- disable_existing_loggers: false
-
- formatters:
- console:
- (): logging.Formatter
- style: "{"
- datefmt: "%H:%M:%S"
- format: "[{asctime}] {name:20.20} {levelname:>7} --- {message}"
-
- handlers:
- console:
- level: DEBUG
- class: logging.StreamHandler
- stream: ext://sys.stdout
- formatter: console
-
- root:
- level: INFO
- handlers:
- - console
+../os/platforms/v1/kvmd.yaml \ No newline at end of file