This patch adds an option to specify the path to the SQLite file. I have 2 boilers with 2 otmonitor daemons running and the auth.db was getting used by both daemons. Also my daemon user is an account without a home dir which the current logic did not seem to find a writable dir for.
for example in a systemd service file: --dbfile /var/lib/otmonitor/auth-%i.db
This patch adds an option to specify the path to the SQLite file. I have 2 boilers with 2 otmonitor daemons running and the
auth.db
was getting used by both daemons. Also my daemon user is an account without a home dir which the current logic did not seem to find a writable dir for.for example in a systemd service file:
--dbfile /var/lib/otmonitor/auth-%i.db