mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +08:00
Updated Data directory (markdown)
parent
91d64fac4a
commit
3e3a875bde
1 changed files with 13 additions and 1 deletions
|
@ -71,4 +71,16 @@ To do this in unix based systems simply run trilium like this:
|
||||||
TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium
|
TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then save the above command as a shell script on your path for convenience.
|
You can then save the above command as a shell script on your path for convenience.
|
||||||
|
|
||||||
|
### Fine-grained directory/path location
|
||||||
|
|
||||||
|
It's possible to configure e.g. backup and log directories separately, with following env. variables:
|
||||||
|
|
||||||
|
* `TRILIUM_DOCUMENT_PATH`
|
||||||
|
* `TRILIUM_BACKUP_DIR`
|
||||||
|
* `TRILIUM_LOG_DIR`
|
||||||
|
* `TRILIUM_ANONYMIZED_DB_DIR`
|
||||||
|
* `TRILIUM_CONFIG_INI_PATH`
|
||||||
|
|
||||||
|
If these are not set, default paths within the data directory will be used.
|
Loading…
Reference in a new issue