Open Frogtime opened 4 years ago
It's not possible at the moment, the information on the current bridge/current listener isn't passed on to files in include_dir
. I'm thinking about whether that is a bug or a feature...
Thanks for the quick reply. Then I have to have rethink my approach on how to include various local clients and their needed subscriptions although I think this feature would come in handy.
I am wondering if it is possible to append
topic
configurations to an existing bridge by including other configuration files (include_dir /etc/mosquitto/conf.d
) which contain furthertopic
statements.When I add the
include_dir /etc/mosquitto/conf.d
statement at the end of the mosquitto.conf file which contains the bridge configuration and put a .conf-file in the /etc/mosquitto/conf.d directory with only this linetopic localgateway_to_awsiot out 1
, mosquitto is terminated with an invalid config error.