Move database for client and controller

This commit is contained in:
Tobias Reisinger 2023-06-18 14:40:07 +02:00
parent 71efb5999e
commit 5e361a5b16
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 4 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-controller
pkgver=0.3.8
pkgrel=1
pkgrel=2
epoch=
pkgdesc='Emgauwa is a tool to schedule and manage relays.'
arch=('amd64' 'armhf' 'armel' 'arm64')

View file

@ -8,7 +8,7 @@ mqtt-port = 1883
mqtt-host = localhost
relay-count = 10
database = /var/lib/emgauwa/controller/db.sqlite
database = /var/lib/emgauwa/controller.sqlite
log-level = info
log-file = /var/log/emgauwa/controller.log

View file

@ -1,5 +1,4 @@
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

View file

@ -1,7 +1,7 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-core
pkgver=0.3.4
pkgrel=1
pkgrel=2
epoch=
pkgdesc='Emgauwa is a tool to schedule and manage relays.'
arch=('amd64' 'armhf' 'armel' 'arm64')

View file

@ -4,7 +4,7 @@ server-port = 80
user = emgauwa
group = emgauwa
database = /var/lib/emgauwa/core/db.sqlite
database = /var/lib/emgauwa/core.sqlite
content-dir = /usr/share/webapps/emgauwa
not-found-file = /usr/share/webapps/emgauwa/index.html
not-found-file-mime = text/html

View file

@ -1,5 +1,4 @@
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