Custom beat based on metric doesn't run in the background when started via inet.d

Hi @ruflin

I think you can stop searching. The explanation can be found in this topic.

To summarize the init.d script of my beat (as compiled with the make scripts provided in the beat library) uses the subcommand config test to test the config at startup, but as explained in the referenced topic the subcommands aren't available in custom generated beats because the generator doesn't take them into account.

As a workaround I modified the /etc/init.d startup script to use -configtest instead of test config. But anyway this is some kind of a bug. Or the subcommands need to be available in custom generated beats or the inet.d startup scripts need to use the 'old' parameters instead of the subcommands to test the configfile at startup.

Regards
Davy