Add skeleton for bundle and fix unbound service
This commit is contained in:
parent
8778546a6b
commit
2b2dfe6599
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
pkgname="$pkgname-s6-$_rx_pkgname"
|
pkgname="$pkgname-s6-$_rx_pkgname"
|
||||||
pkgdesc="RedXen s6 configuration: $_rx_pkgname"
|
pkgdesc="RedXen s6 configuration: $_rx_pkgname"
|
||||||
depends="nnd-s6-services $_rx_pkgname redxen-config-$_rx_pkgname"
|
depends="redxen-s6-bundle $_rx_pkgname redxen-config-$_rx_pkgname"
|
||||||
|
|
||||||
rx_s6_svc_install() {
|
rx_s6_svc_install() {
|
||||||
mkdir -p "$(rx_cpkgdir)"/etc/s6/dist/rc
|
mkdir -p "$(rx_cpkgdir)"/etc/s6/dist/rc
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
|
|
||||||
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
|
pkgver=2022.11.02.01
|
||||||
|
pkgrel=0
|
||||||
|
depends="nnd-s6-services"
|
||||||
|
|
||||||
|
package() {
|
||||||
|
rx_s6_svc_install "bundle.redxen"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
bundle
|
|
@ -3,5 +3,5 @@
|
||||||
|
|
||||||
. ../APKBUILD-s6.template
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
pkgver=2022.11.01.01
|
pkgver=2022.11.02.01
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
|
|
|
@ -9,4 +9,4 @@ emptyenv
|
||||||
|
|
||||||
export PATH $PATH
|
export PATH $PATH
|
||||||
|
|
||||||
exec unbound -c $CFGFILE
|
exec unbound -p -c $CFGFILE
|
||||||
|
|
Loading…
Reference in New Issue