Add more s6 services and fixup unbound
This commit is contained in:
parent
2378b48aba
commit
b2feaf0fba
|
@ -0,0 +1,7 @@
|
||||||
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
|
|
||||||
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
|
pkgver=2023.05.07.01
|
||||||
|
pkgrel=0
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/redxen/gitea/redxen.ini
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/execlineb -P
|
||||||
|
s6-envdir -I /etc/s6/env/redxen.gitea
|
||||||
|
importas -i CFGFILE CFGFILE
|
||||||
|
|
||||||
|
s6-envdir -i /etc/s6/env/path
|
||||||
|
emptyenv -p
|
||||||
|
|
||||||
|
gitea web --config $CFGFILE
|
|
@ -0,0 +1 @@
|
||||||
|
longrun
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
|
|
||||||
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
|
pkgver=2023.05.07.01
|
||||||
|
pkgrel=0
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/redxen/grafana/main.ini
|
|
@ -0,0 +1 @@
|
||||||
|
/var/lib/grafana/
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/execlineb -P
|
||||||
|
s6-envdir -I /etc/s6/env/redxen.grafana
|
||||||
|
importas -i CFGFILE CFGFILE
|
||||||
|
importas -i GRAFANA_HOME GRAFANA_HOME
|
||||||
|
|
||||||
|
s6-envdir -i /etc/s6/env/path
|
||||||
|
emptyenv -p
|
||||||
|
|
||||||
|
grafana-server -config $CFGFILE -homepath /usr/share/grafana -cfg:default.paths.data=${GRAFANA_HOME}/data -cfg:default.paths.plugins=${GRAFANA_HOME}/plugins -cfg:default.paths.provisioning=${GRAFANA_HOME}/provisioning
|
|
@ -0,0 +1 @@
|
||||||
|
longrun
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
|
|
||||||
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
|
pkgver=2023.05.07.01
|
||||||
|
pkgrel=0
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/redxen/nginx/main.conf
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/execlineb -P
|
||||||
|
s6-envdir -I /etc/s6/env/redxen.gitea
|
||||||
|
importas -i CFGFILE CFGFILE
|
||||||
|
|
||||||
|
s6-envdir -i /etc/s6/env/path
|
||||||
|
emptyenv -p
|
||||||
|
|
||||||
|
nginx -c $CFGFILE
|
|
@ -0,0 +1 @@
|
||||||
|
longrun
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
|
|
||||||
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
|
pkgver=2023.05.07.01
|
||||||
|
pkgrel=0
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/redxen/transmission
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/execlineb -P
|
||||||
|
s6-envdir -I /etc/s6/env/redxen.transmission
|
||||||
|
importas -i CFGDIR CFGDIR
|
||||||
|
|
||||||
|
s6-envdir -i /etc/s6/env/path
|
||||||
|
emptyenv -p
|
||||||
|
|
||||||
|
transmission-daemon -f -c $CFGDIR
|
|
@ -0,0 +1 @@
|
||||||
|
longrun
|
|
@ -3,5 +3,5 @@
|
||||||
|
|
||||||
. ../APKBUILD-s6.template
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
pkgver=2022.11.02.01
|
pkgver=2023.05.07.01
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
#!/bin/execlineb -P
|
#!/bin/execlineb -P
|
||||||
s6-envdir -i /etc/s6/env/path
|
|
||||||
importas -i PATH PATH
|
|
||||||
|
|
||||||
s6-envdir -I /etc/s6/env/redxen.unbound
|
s6-envdir -I /etc/s6/env/redxen.unbound
|
||||||
importas -i CFGFILE CFGFILE
|
importas -i CFGFILE CFGFILE
|
||||||
|
|
||||||
emptyenv
|
s6-envdir -i /etc/s6/env/path
|
||||||
|
emptyenv -p
|
||||||
|
|
||||||
export PATH $PATH
|
unbound -p -c $CFGFILE
|
||||||
|
|
||||||
exec unbound -p -c $CFGFILE
|
|
||||||
|
|
Loading…
Reference in New Issue