Moving aux files into contrib dir. Added PKGBULD for Archlinux.
This commit is contained in:
parent
0c8dc36697
commit
8a552e13c9
21
contrib/archlinux/PKGBUILD
Normal file
21
contrib/archlinux/PKGBUILD
Normal 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
|
||||
}
|
@ -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
|
Loading…
Reference in New Issue
Block a user