From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This documents the use of StateDirecory environment variable which overwrites the default storage diretory when set. --- doc/settings-storage.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt index 26584f201..178e7d07b 100644 --- a/doc/settings-storage.txt +++ b/doc/settings-storage.txt @@ -18,6 +18,11 @@ change. Default storage directory is /var/lib/bluetooth. This can be adjusted by the --localstatedir configure switch. Default is --localstatedir=/var. +When loading as a service the storage directory can be set via +StateDirectory environment variable: + +https://www.freedesktop.org/software/systemd/man/systemd.exec.html + All files are in ini-file format. -- 2.35.1