Skip to content
Snippets Groups Projects
Commit 40c918d4 authored by Martijn Braam's avatar Martijn Braam Committed by alice
Browse files

testing/pully: new aport

parent 5103bd78
1 merge request!31472testing/pully: new aport
Pipeline #112981 canceled
# Maintainer: Martijn Braam <martijn@brixit.nl>
# Contributor: Martijn Braam <martijn@brixit.nl>
pkgname=pully
pkgver=1.0.0
pkgrel=0
pkgdesc="Gitlab webhook receiver daemon"
url="https://git.sr.ht/~martijnbraam/pully"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/pully/archive/$pkgver.tar.gz
pully.confd
pully.initd
"
depends="python3"
subpackages="$pkgname-openrc"
package() {
install -D -m755 "$builddir"/pully.py \
"$pkgdir"/usr/bin/pully
install -D -m644 "$srcdir"/pully.confd \
"$pkgdir"/etc/conf.d/pully
install -D -m755 "$srcdir"/pully.initd \
"$pkgdir"/etc/init.d/pully
}
sha512sums="
dd59b23375a969bd1e76d9f024abd63d9c64993e536d879bb37b33ab8963772b6f6e067fb10a5008b84ef00ab633668f7ce6bbc881d8bd49748855f6dc7d7921 pully-1.0.0.tar.gz
5bea58d6a7359342238ae2b6e1a2c220c2e95ba860fd69460f8053c804fac3f1600bb1b02e2d9464f14d22d095159781a666070a82618191b19b590fd7844274 pully.confd
d668da01a75793d0d0f4fb68aa0b750fcbf022060d0d5b76291e50f11c222b2c7a616de015dba4b43b6537621445519ee239edc5851b23f1da67649a43499f79 pully.initd
"
# Configuration for /etc/init.d/pully
# Path to the config file to use.
#cfgfile="/etc/pully.conf"
output_log="/var/log/pully.log"
error_log="/var/log/pully.log"
supervisor=supervise-daemon
#!/sbin/openrc-run
name="Pully"
description="Gitlab Webhook receiver"
: ${cfgfile:="/etc/pully.conf"}
: ${command_user:="root:root"}
command="/usr/bin/pully"
command_args="$cfgfile"
required_files="$cfgfile"
depend() {
need net
after firewall
}
start_pre() {
checkpath -f --owner "$command_user" --mode "0644" $logfile
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment