This already exists

syslog-ng --syntax-only --cfgfile=my_config_file


On 5/9/19 2:05 PM, Faine, Mark R. (MSFC-IS40)[NICS] wrote:

How hard would it be to make --syntax-only accept a path to a configuration file as an argument?  This would be useful to me since I use an Ansible template module to install the file and it has a validate parameter but it requires an argument for the filename.  It could of course still function normally If no path to a configuration file was provided.

 

Thanks,

-Mark