1
0
Fork 0

Moving aux files into contrib dir. Added PKGBULD for Archlinux.

This commit is contained in:
Alexander Andreev 2022-01-02 02:57:57 +04:00
parent 0c8dc36697
commit 8a552e13c9
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,21 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=httpprocwatchd
pkgver=1.0.0
pkgrel=1
pkgdesc="HTTPProcWatchD hands out an HTTP endpoint to see status of watched processes."
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.top/Arav/httpprocwatchd"
license=('MIT')
source=('git+https://git.arav.top/Arav/httpprocwatchd.git')
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
make DESTDIR="$pkgdir/" install-service
}

View File

@ -1,5 +1,5 @@
[Unit]
Description=HTTPProcWatchD hands out a JSON HTTP endpoint to see status of watched processes
Description=HTTPProcWatchD hands out an HTTP endpoint to see status of watched processes.
After=network.target
[Service]
@ -7,6 +7,7 @@ Type=simple
DynamicUser=yes
Restart=on-failure
ExecStart=/usr/bin/httpprocwatchd --config /etc/httpprocwatchd/config.json
ExecReload=kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target