config: use /var/lib/dnswatcher as default data directory #89

Merged
sneak merged 1 commits from fix/88-absolute-datadir into main 2026-03-20 06:56:10 +01:00

1 Commits

Author SHA1 Message Date
user
b4f986a2e5 config: use /var/lib/dnswatcher as default data directory
All checks were successful
check / check (push) Successful in 46s
Change the default DATA_DIR from the relative path './data' to the
absolute path '/var/lib/dnswatcher', following the FHS convention for
application state data.

The default is derived from the application name passed to setupViper,
so it will always match /var/lib/<appname>.

Updated README environment variable table and .env example to reflect
the new default. Tests updated accordingly.
2026-03-17 05:11:01 -07:00