From cd62cacb6232311c84387bb4eefb69d41b4bf6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Mekina?= Date: Sun, 9 Mar 2025 23:13:57 +0100 Subject: [PATCH] perform some corrections for container image building --- Makefile | 4 ++-- config.json | 2 +- docs/test.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 docs/test.txt diff --git a/Makefile b/Makefile index 22c31e7..5cf8491 100644 --- a/Makefile +++ b/Makefile @@ -41,12 +41,12 @@ include image/image.mk target/release/zmp24: $(MAIN_RS_SRCS) DB_PATH="$(PROD_DB)" \ - BIND_TO="$(PROD_BIND)" \ + BIND_TO="$(PROD_SOCK_PATH)" \ cargo build --release target/$(ARCH)-unknown-linux-musl/release/zmp24: $(MAIN_RS_SRCS) DB_PATH="$(PROD_DB)" \ - BIND_TO="$(PROD_BIND)" \ + BIND_TO="$(PROD_SOCK_PATH)" \ cargo build --target $(ARCH)-unknown-linux-musl --release $(SEARCH_REPLACE): lib/search_and_replace/src/main.rs lib/search_and_replace/Cargo.toml diff --git a/config.json b/config.json index b191dfc..4bda4b7 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "prod": { - "sock_path": "/run/zmp24.sock", + "sock_path": "/run/zmp24/zmp24.sock", "db": "/data/db" }, diff --git a/docs/test.txt b/docs/test.txt new file mode 100644 index 0000000..8760a91 --- /dev/null +++ b/docs/test.txt @@ -0,0 +1,44 @@ +Monitor eDP-1 (ID 0): + 1920x1080@60.05600 at 0x0 + description: AU Optronics 0x20ED + make: AU Optronics + model: 0x20ED + serial: + active workspace: 1 (1) + special workspace: 0 () + reserved: 0 42 0 0 + scale: 1.00 + transform: 0 + focused: yes + dpmsStatus: 1 + vrr: false + solitary: 0 + activelyTearing: false + directScanoutTo: 0 + disabled: false + currentFormat: XRGB8888 + mirrorOf: none + availableModes: 1920x1080@60.06Hz 1920x1080@40.04Hz + +Monitor HDMI-1 (ID 1): + 1920x1080@60.05600 at 0x0 + description: AU Optronics 0x20ED + make: AU Optronics + model: 0x20ED + serial: + active workspace: 1 (1) + special workspace: 0 () + reserved: 0 42 0 0 + scale: 1.00 + transform: 0 + focused: no + dpmsStatus: 1 + vrr: false + solitary: 0 + activelyTearing: false + directScanoutTo: 0 + disabled: false + currentFormat: XRGB8888 + mirrorOf: none + availableModes: 1920x1080@60.06Hz 1920x1080@40.04Hz +