#!/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