upgpkg: core v0.2.5
upgpkg: core-testing v0.2.5 add: core and controller logging
This commit is contained in:
		
							parent
							
								
									133de2b90e
								
							
						
					
					
						commit
						f3370c9169
					
				
					 7 changed files with 15 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -10,6 +10,7 @@ mqtt-host = localhost
 | 
			
		|||
relay-count = 10
 | 
			
		||||
database = /var/lib/emgauwa/controller/db.lmdb
 | 
			
		||||
log-level = info
 | 
			
		||||
log-file = /var/log/emgauwa/controller.log
 | 
			
		||||
 | 
			
		||||
[relay-0]
 | 
			
		||||
driver = gpio
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
 | 
			
		||||
pkgname=emgauwa-core-testing
 | 
			
		||||
pkgver=0.2.4
 | 
			
		||||
pkgver=0.2.5
 | 
			
		||||
pkgrel=1
 | 
			
		||||
epoch=
 | 
			
		||||
pkgdesc=""
 | 
			
		||||
| 
						 | 
				
			
			@ -17,7 +17,7 @@ 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=('97780314b36a19fae4e64e15e55903311eec2ce89bcea92dd2b9a6d7a670f470'
 | 
			
		||||
sha256sums=('deb59fe99b74355f5463f6e03e19d866ea02f2773861564a86f559db4868f9ca'
 | 
			
		||||
            '210c8a05bae65e5f19c0c168b0f8c63d064706a9e7885a22a57ca7b04ea4e00f'
 | 
			
		||||
            'c781f4d50da8e158551a47a8549981dad05faaf2d632c4fde8b36b48474ab0ec'
 | 
			
		||||
            'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
 | 
			
		||||
pkgname=emgauwa-core
 | 
			
		||||
pkgver=0.2.3
 | 
			
		||||
pkgver=0.2.5
 | 
			
		||||
pkgrel=1
 | 
			
		||||
epoch=
 | 
			
		||||
pkgdesc=""
 | 
			
		||||
| 
						 | 
				
			
			@ -17,11 +17,11 @@ source=("https://git.serguzim.me/emgauwa/core/archive/v$pkgver.tar.gz"
 | 
			
		|||
        "emgauwa-core.service"
 | 
			
		||||
        "emgauwa-core.sysusers"
 | 
			
		||||
        "emgauwa-core.tmpfiles")
 | 
			
		||||
sha256sums=('cab5fa1ebf4c2afef2c68a4c7edde1fbf324b1d1c05818bfbc2d4a56f6cb0a24'
 | 
			
		||||
            '2f87b859ad8ad406bdb2332aa6925c4e76cc18632b9e544bb28752995a2d2c0e'
 | 
			
		||||
            '559c675302f626dfded86660866554fb78f3fcbae51e5879eee65c9384a06d52'
 | 
			
		||||
sha256sums=('deb59fe99b74355f5463f6e03e19d866ea02f2773861564a86f559db4868f9ca'
 | 
			
		||||
            '71d8d0f9e2dba22a256be866cb2b3128115f1a188c18b46c55a3b8718c626133'
 | 
			
		||||
            '696e4d020eeb50e900678b3e21c4c114830b23af95169e9a0f0c06d82d053a5c'
 | 
			
		||||
            'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
 | 
			
		||||
            '0531f10303410afd7e53099e66b124ef2fd14afec9d33c4a0146793375acb6c2')
 | 
			
		||||
            '76f7d12b56efbdb06eb14ac758da2daa4ca9f2c6449a0103db6aeab22ed93cd8')
 | 
			
		||||
 | 
			
		||||
prepare() {
 | 
			
		||||
    cd "core"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,3 +17,4 @@ discovery-port = 4419
 | 
			
		|||
mqtt-port = 1883
 | 
			
		||||
 | 
			
		||||
log-level = info
 | 
			
		||||
log-file = /var/log/emgauwa/core.log
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,8 @@ After=network.target
 | 
			
		|||
Type=simple
 | 
			
		||||
WorkingDirectory=/var/lib/emgauwa/core/
 | 
			
		||||
ExecStart=emgauwa-core start -c /etc/emgauwa/core.ini
 | 
			
		||||
StandardOutput=/var/log/emgauwa/core.log
 | 
			
		||||
ErrorOutput=/var/log/emgauwa/core.log
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue