diff options
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | watchghost.service | 1 |
3 files changed, 21 insertions, 20 deletions
@@ -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 @@ -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 059ba9cc4ff3..e0b7d9a9fd36 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 |