12 lines
416 B
Plaintext
Executable File
12 lines
416 B
Plaintext
Executable File
#!/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}
|