mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
cfg: In develop mode, use /var/lib for DB and sessions
- Only effects develop mode. - To primarily avoid writing to the source code directory. Multiple containers or VMs using the source folder won't fight with the database file (the overlay file system plan is not working out well for containers #1873). - In the earlier days, we used to allow running from source code directory without even doing ./setup.py install. Currently it is not possible anyway. We pretty much install freedombox package before running from source directory. - If the build process itself learns not to write to source directory, then containers/VMs won't have to write to source directory at all. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
a2281aaf07
commit
91c4d6742e
2 files changed
+9
-16
No files matched your search
@@ -1,8 +1,5 @@
|
||||
[Path]
|
||||
file_root = %(parent_parent_dir)s
|
||||
config_dir = %(file_root)s/data/etc/plinth
|
||||
data_dir = %(file_root)s/data/var/lib/plinth
|
||||
actions_dir = %(file_root)s/actions
|
||||
doc_dir = %(file_root)s/doc
|
||||
custom_static_dir = %(file_root)s/data/var/www/plinth/custom/static
|
||||
store_file = %(data_dir)s/plinth.sqlite3
|
||||
Reference in new issue
Block a user