summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Vuillard2019-07-31 15:05:34 +0200
committerArthur Vuillard2019-07-31 15:05:34 +0200
commit34f44b81623dd32e2b890e7ac7614ab66e020891 (patch)
tree8155b9e9f2803fd2d21bf03d48181a3890e4e4f4
parent55b1329f9d48d5ec1d31fd4a14466d04a0e63ee0 (diff)
downloadaur-34f44b81623dd32e2b890e7ac7614ab66e020891.tar.gz
release 0.3.0
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD18
-rw-r--r--watchghost.service1
3 files changed, 21 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b663a2eb0f..7f8f9727482 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Tue Nov 13 21:38:43 UTC 2018
pkgbase = watchghost
pkgdesc = Your invisible but loud monitoring pet
- pkgver = 0.2.2
+ pkgver = 0.3.0
pkgrel = 1
epoch = 1
url = https://gitlab.com/localg-host/watchghost/
@@ -10,17 +8,19 @@ pkgbase = watchghost
arch = any
license = AGPLv3
makedepends = python-setuptools
- depends = python-tornado
+ depends = python-aiohttp
depends = python-aioftp
depends = python-asyncssh
- depends = python-watchdog
+ depends = python-whois
+ depends = python-influxdb
+ depends = python-aiohttp-jinja2
conflicts = watchghost-git
- backup = etc/watchghost/watchers
- backup = etc/watchghost/loggers
- backup = etc/watchghost/servers
- backup = etc/watchghost/groups
- source = https://gitlab.com/localg-host/watchghost/-/archive/0.2.2/watchghost-0.2.2.tar.gz
- sha256sums = 94f6c05099bad2b8ee6d034a0b0cf04e91a0a81a58134b981b49b4b77d18b692
+ backup = etc/watchghost/watchers.toml
+ backup = etc/watchghost/loggers.toml
+ backup = etc/watchghost/servers.toml
+ backup = etc/watchghost/groups.toml
+ source = https://gitlab.com/localg-host/watchghost/-/archive/0.3.0/watchghost-0.3.0.tar.gz
+ sha256sums = 3cdc89a27ccbcc5494d7c480c400fbb4a97a299ae3acd6d273b2a22d7e18b8a4
pkgname = watchghost
diff --git a/PKGBUILD b/PKGBUILD
index 93ddecafaa7..768d27d1bef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,24 @@
name=watchghost
pkgname=$name
-pkgver=0.2.2
-pkgrel=2
+pkgver=0.3.0
+pkgrel=1
epoch=1
pkgdesc="Your invisible but loud monitoring pet"
arch=('any')
url='https://gitlab.com/localg-host/watchghost/'
license=('AGPLv3')
-depends=('python-tornado' 'python-aioftp' 'python-asyncssh' 'python-watchdog')
+depends=('python-aiohttp' 'python-aioftp' 'python-asyncssh' 'python-whois' 'python-influxdb' 'python-aiohttp-jinja2')
makedepends=('python-setuptools')
source=("https://gitlab.com/localg-host/watchghost/-/archive/${pkgver}/watchghost-${pkgver}.tar.gz")
-sha256sums=('94f6c05099bad2b8ee6d034a0b0cf04e91a0a81a58134b981b49b4b77d18b692')
+sha256sums=('3cdc89a27ccbcc5494d7c480c400fbb4a97a299ae3acd6d273b2a22d7e18b8a4')
conflicts=('watchghost-git')
install=watchghost.install
backup=(
- 'etc/watchghost/watchers'
- 'etc/watchghost/loggers'
- 'etc/watchghost/servers'
- 'etc/watchghost/groups'
+ 'etc/watchghost/watchers.toml'
+ 'etc/watchghost/loggers.toml'
+ 'etc/watchghost/servers.toml'
+ 'etc/watchghost/groups.toml'
)
package() {
@@ -30,7 +30,7 @@ package() {
install -D $startdir/sysusers.conf $pkgdir/usr/lib/sysusers.d/watchghost.conf
install -D $startdir/watchghost.service $pkgdir/usr/lib/systemd/system/watchghost.service
for filename in groups loggers servers watchers ; do
- install -D $srcdir/${name}-${pkgver}/watchghost/etc/$filename $pkgdir/etc/watchghost/$filename
+ install -D $srcdir/${name}-${pkgver}/watchghost/etc/$filename.toml $pkgdir/etc/watchghost/$filename.toml
done
}
diff --git a/watchghost.service b/watchghost.service
index 059ba9cc4ff..e0b7d9a9fd3 100644
--- a/watchghost.service
+++ b/watchghost.service
@@ -7,6 +7,7 @@ Type=simple
User=watchghost
Group=watchghost
ExecStart=/usr/bin/watchghost --config=/etc/watchghost
+ExecReload=/bin/kill -SIGHUP $MAINPID
[Install]
WantedBy=multi-user.target