From 3a668730238d6c8b361964b8bdc629454af1100b Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sun, 26 Jul 2020 21:09:55 +0200 Subject: [PATCH] upgpkg: controller-testing v0.2.7 upgpkg: core-testing v0.2.4 add: config and tmpfiles for logging in -testing pkgs --- controller-testing/PKGBUILD | 8 ++++---- controller-testing/controller.ini | 1 + controller-testing/emgauwa-controller-testing.tmpfiles | 2 ++ core-testing/PKGBUILD | 8 ++++---- core-testing/core.ini | 1 + core-testing/emgauwa-core-testing.tmpfiles | 2 ++ 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/controller-testing/PKGBUILD b/controller-testing/PKGBUILD index 5fd5d42..160be3c 100644 --- a/controller-testing/PKGBUILD +++ b/controller-testing/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Tobias Reisinger pkgname=emgauwa-controller-testing -pkgver=0.2.6 +pkgver=0.2.7 pkgrel=1 epoch= pkgdesc="" @@ -17,11 +17,11 @@ source=("https://git.serguzim.me/emgauwa/controller/archive/testing-v$pkgver.tar "emgauwa-controller-testing.service" "emgauwa-controller-testing.sysusers" "emgauwa-controller-testing.tmpfiles") -sha256sums=('ed6ad99e059937272f5e26b844c50dcf211d69b18596c094d092f67524b8fe35' - '1dc741c8d6b70a7adf8812bc4854bd9599f54b614bbfff8c24f2eb21a4b10ae7' +sha256sums=('cf31625b779cbb21fd6d5452b0422e5351a42e42070dbc07b9ac388c2a090b90' + 'cfbf05b5e3045c9aad3979f366bdda6c5ca7d47e1bb4ad3bf855a39b99e88417' '0bbc44d680be2011800c553ae863663148be0820f08349993578c88e9a23b143' 'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798' - '5a4ce46c1302546509c0024d4614b5b0d47dde02467b7bf52b28ef6c4ead91e7') + 'e62f47b41f0c4f116007ca0e05e0a50b45446763ccfa91b946b9d451c83ff5b4') prepare() { cd "controller" diff --git a/controller-testing/controller.ini b/controller-testing/controller.ini index fb3ddbb..8d5deb0 100644 --- a/controller-testing/controller.ini +++ b/controller-testing/controller.ini @@ -10,6 +10,7 @@ mqtt-host = localhost relay-count = 10 database = /var/lib/emgauwa/controller/db.lmdb log-level = debug +log-file = /var/log/emgauwa/controller.log [relay-0] driver = piface diff --git a/controller-testing/emgauwa-controller-testing.tmpfiles b/controller-testing/emgauwa-controller-testing.tmpfiles index fbac92e..2029e91 100644 --- a/controller-testing/emgauwa-controller-testing.tmpfiles +++ b/controller-testing/emgauwa-controller-testing.tmpfiles @@ -1,5 +1,7 @@ d /var/lib/emgauwa 0750 d /var/lib/emgauwa/controller 0750 Z /var/lib/emgauwa - emgauwa emgauwa +d /var/log/emgauwa 0750 +Z /var/log/emgauwa - emgauwa emgauwa z /etc/emgauwa 0755 root emgauwa z /etc/emgauwa/controller.ini 0660 root emgauwa diff --git a/core-testing/PKGBUILD b/core-testing/PKGBUILD index 52a17eb..3a2586c 100644 --- a/core-testing/PKGBUILD +++ b/core-testing/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Tobias Reisinger pkgname=emgauwa-core-testing -pkgver=0.2.3 +pkgver=0.2.4 pkgrel=1 epoch= pkgdesc="" @@ -17,11 +17,11 @@ source=("https://git.serguzim.me/emgauwa/core/archive/testing-v$pkgver.tar.gz" "emgauwa-core-testing.service" "emgauwa-core-testing.sysusers" "emgauwa-core-testing.tmpfiles") -sha256sums=('cab5fa1ebf4c2afef2c68a4c7edde1fbf324b1d1c05818bfbc2d4a56f6cb0a24' - 'b6747ceee2099f6ee321af4c69e10cb9e73d444e769fc33efd257e59d55b40be' +sha256sums=('97780314b36a19fae4e64e15e55903311eec2ce89bcea92dd2b9a6d7a670f470' + '210c8a05bae65e5f19c0c168b0f8c63d064706a9e7885a22a57ca7b04ea4e00f' 'c781f4d50da8e158551a47a8549981dad05faaf2d632c4fde8b36b48474ab0ec' 'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798' - '0531f10303410afd7e53099e66b124ef2fd14afec9d33c4a0146793375acb6c2') + '76f7d12b56efbdb06eb14ac758da2daa4ca9f2c6449a0103db6aeab22ed93cd8') prepare() { cd "core" diff --git a/core-testing/core.ini b/core-testing/core.ini index 39ca112..20553af 100644 --- a/core-testing/core.ini +++ b/core-testing/core.ini @@ -16,3 +16,4 @@ discovery-port = 4420 mqtt-port = 1884 log-level = debug +log-file = /var/log/emgauwa/core.log diff --git a/core-testing/emgauwa-core-testing.tmpfiles b/core-testing/emgauwa-core-testing.tmpfiles index f1e5fb0..bff60a8 100644 --- a/core-testing/emgauwa-core-testing.tmpfiles +++ b/core-testing/emgauwa-core-testing.tmpfiles @@ -1,5 +1,7 @@ d /var/lib/emgauwa 0750 d /var/lib/emgauwa/core 0750 Z /var/lib/emgauwa - emgauwa emgauwa +d /var/log/emgauwa 0750 +Z /var/log/emgauwa - emgauwa emgauwa z /etc/emgauwa 0755 root emgauwa z /etc/emgauwa/core.ini 0660 root emgauwa