settings-storage: Document use of StateDirectory
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 19 Apr 2022 18:30:16 +0000 (11:30 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
This documents the use of StateDirecory environment variable which
overwrites the default storage diretory when set.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
doc/settings-storage.txt

index 0e1e7a9..e4576a6 100755 (executable)
@@ -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.