michaelarnauts / cec-mqtt-bridge

A HDMI-CEC to MQTT bridge for connecting HDMI-CEC-devices to your Home Automation system.
145 stars 48 forks source link

Don't hardcode the path to config #14

Closed jckoester closed 5 years ago

jckoester commented 5 years ago

Currently the path to the config file is hardcoded as config.ini. This is causing problems if you want to run bridge.pyusing eg a systemd service. The config could for example be

This would be very helpful.

michaelarnauts commented 5 years ago

It should use the working directory. If you set those in your service definition, it should look there.

jckoester commented 5 years ago

Thanks for the hint, I didn't know this option.

Also thanks a lot for the swift answer and this great project!