Created attachment 234323 [details] Diff file Hello, team! We have scenarios of monitoring Telegraf status with "outputs.health" module. If the telegraf process doesn't respond on the specified port, we want to restart with kill command. For the sake of safety it would be great to have the telegraf PID stored by daemon instead of filtering lsof,ps or similar utilities' outputs. Is it possible to add '-p' option to the daemon configuration file to store PID? Kindly see suggested patch in attachments.