I am installing telegraf as Windows service in Windows 7 and Windows 10 with the command below.
telegraf.exe --config "C:\Program Files\Telegraf\telegraf.conf" --config-directory "C:\Program Files\telegraf\telegraf.d" --service install
After Windows 10 rebooted, telegraf works well and is started automatically.
But after Windows 7 rebooted, telegraf can’t work. telegraf isn’t started automatically.
I don’t see anything in logs too.
Do I miss any settings in Windows 7? Please guide, thanks.