Add skeleton for bundle and fix unbound service

This commit is contained in:
Alex D. 2022-11-02 09:26:35 +00:00
parent 8778546a6b
commit 2b2dfe6599
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
5 changed files with 16 additions and 3 deletions

View File

@ -5,7 +5,7 @@
pkgname="$pkgname-s6-$_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() {
mkdir -p "$(rx_cpkgdir)"/etc/s6/dist/rc

12
s6/bundle/APKBUILD Normal file
View File

@ -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"
}

1
s6/bundle/rc/type Normal file
View File

@ -0,0 +1 @@
bundle

View File

@ -3,5 +3,5 @@
. ../APKBUILD-s6.template
pkgver=2022.11.01.01
pkgver=2022.11.02.01
pkgrel=0

View File

@ -9,4 +9,4 @@ emptyenv
export PATH $PATH
exec unbound -c $CFGFILE
exec unbound -p -c $CFGFILE