#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf

exec chpst -u _telegraf:_telegraf telegraf "$TELEGRAF_CONF_LINE" "$TELEGRAF_CONFDIR_LINE" 2>&1
