First, thanks for the qpkg, works perfectly!
But I may found an issue, the /opt/Telegraf/etc/telegraf/telegraf.conf is overwritten on update, we need to reconfigure, and restart. Not a huge problem, but if updated is automated can leave a hole in the data until someone notices.
Also the telegraf supports the configs in the telegraf.d dirtectory, I noticed your qpkgs ships with this dir but the startup script does not use it, if is possible change the line:
$QPKG_ROOT/usr/bin/telegraf --config $QPKG_ROOT/etc/telegraf/telegraf.conf
to
$QPKG_ROOT/usr/bin/telegraf --config $QPKG_ROOT/etc/telegraf/telegraf.conf --config-directory $QPKG_ROOT/etc/telegraf/telegraf.d
I don't now if this is the best place to reach you.
Anyway thanks again for the qpkg! Great work!