#!/bin/sh
[ -r ./conf ] && . ./conf
exec chpst -u _telegraf:_telegraf telegraf "$TELEGRAF_CONF_LINE" "$TELEGRAF_CONFDIR_LINE" 2>&1