void-packages/srcpkgs/prometheus/files/prometheus/run

10 lines
189 B
Bash
Executable File

#!/bin/sh
[ -f ./conf ] && . ./conf
: ${WRKDIR:=/var/lib/prometheus}
cd "${WRKDIR}"
exec chpst -o 8192 -u _prometheus prometheus --config.file=/etc/prometheus/prometheus.yml $ARGS 2>&1