Add more s6 services and fixup unbound
This commit is contained in:
parent
2378b48aba
commit
b2feaf0fba
7
s6/gitea/APKBUILD
Normal file
7
s6/gitea/APKBUILD
Normal file
@ -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
|
1
s6/gitea/env/CFGFILE
vendored
Normal file
1
s6/gitea/env/CFGFILE
vendored
Normal file
@ -0,0 +1 @@
|
||||
/etc/redxen/gitea/redxen.ini
|
8
s6/gitea/rc/run
Executable file
8
s6/gitea/rc/run
Executable file
@ -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
|
1
s6/gitea/rc/type
Normal file
1
s6/gitea/rc/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
7
s6/grafana/APKBUILD
Normal file
7
s6/grafana/APKBUILD
Normal file
@ -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
|
1
s6/grafana/env/CFGFILE
vendored
Normal file
1
s6/grafana/env/CFGFILE
vendored
Normal file
@ -0,0 +1 @@
|
||||
/etc/redxen/grafana/main.ini
|
1
s6/grafana/env/GRAFANA_HOME
vendored
Normal file
1
s6/grafana/env/GRAFANA_HOME
vendored
Normal file
@ -0,0 +1 @@
|
||||
/var/lib/grafana/
|
9
s6/grafana/rc/run
Executable file
9
s6/grafana/rc/run
Executable file
@ -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
|
1
s6/grafana/rc/type
Normal file
1
s6/grafana/rc/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
7
s6/nginx/APKBUILD
Normal file
7
s6/nginx/APKBUILD
Normal file
@ -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
|
1
s6/nginx/env/CFGFILE
vendored
Normal file
1
s6/nginx/env/CFGFILE
vendored
Normal file
@ -0,0 +1 @@
|
||||
/etc/redxen/nginx/main.conf
|
8
s6/nginx/rc/run
Executable file
8
s6/nginx/rc/run
Executable file
@ -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
|
1
s6/nginx/rc/type
Normal file
1
s6/nginx/rc/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
7
s6/transmission/APKBUILD
Normal file
7
s6/transmission/APKBUILD
Normal file
@ -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
|
1
s6/transmission/env/CFGDIR
vendored
Normal file
1
s6/transmission/env/CFGDIR
vendored
Normal file
@ -0,0 +1 @@
|
||||
/etc/redxen/transmission
|
8
s6/transmission/rc/run
Executable file
8
s6/transmission/rc/run
Executable file
@ -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
|
1
s6/transmission/rc/type
Normal file
1
s6/transmission/rc/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
@ -3,5 +3,5 @@
|
||||
|
||||
. ../APKBUILD-s6.template
|
||||
|
||||
pkgver=2022.11.02.01
|
||||
pkgver=2023.05.07.01
|
||||
pkgrel=0
|
||||
|
@ -1,12 +1,8 @@
|
||||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
|
||||
s6-envdir -I /etc/s6/env/redxen.unbound
|
||||
importas -i CFGFILE CFGFILE
|
||||
|
||||
emptyenv
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
export PATH $PATH
|
||||
|
||||
exec unbound -p -c $CFGFILE
|
||||
unbound -p -c $CFGFILE
|
||||
|
Loading…
Reference in New Issue
Block a user