Add few more s6 services
This commit is contained in:
parent
ab094d7eda
commit
6645595e6e
|
@ -0,0 +1,7 @@
|
||||||
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
|
|
||||||
|
. ../APKBUILD-s6.template
|
||||||
|
|
||||||
|
pkgver=2023.03.04.01
|
||||||
|
pkgrel=0
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/redxen/haproxy/main.cfg
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/execlineb -P
|
||||||
|
s6-envdir -I /etc/s6/env/redxen.haproxy
|
||||||
|
importas -i CFGFILE CFGFILE
|
||||||
|
|
||||||
|
s6-envdir -i /etc/s6/env/path
|
||||||
|
emptyenv -p
|
||||||
|
|
||||||
|
haproxy -db -f $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.03.04.01
|
||||||
|
pkgrel=0
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/redxen/prometheus/config.yaml
|
|
@ -0,0 +1 @@
|
||||||
|
[::]:7554
|
|
@ -0,0 +1 @@
|
||||||
|
/var/lib/prometheus/data
|
|
@ -0,0 +1 @@
|
||||||
|
30d
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/execlineb -P
|
||||||
|
s6-envdir -I /etc/s6/env/redxen.prometheus
|
||||||
|
importas -i CFGFILE CFGFILE
|
||||||
|
importas -i LISTEN_ADDR LISTEN_ADDR
|
||||||
|
importas -i STORAGE_PATH STORAGE_PATH
|
||||||
|
importas -i STORAGE_RETENTION STORAGE_RETENTION
|
||||||
|
|
||||||
|
s6-envdir -i /etc/s6/env/path
|
||||||
|
emptyenv -p
|
||||||
|
|
||||||
|
prometheus --web.listen-address=${LISTEN_ADDR} --config.file=${CFGFILE} --storage.tsdb.path=${STORAGE_PATH} --storage.tsdb.retention.time=${STORAGE_RETENTION}
|
|
@ -0,0 +1 @@
|
||||||
|
longrun
|
Loading…
Reference in New Issue