mirror of
https://github.com/zadam/trilium.git
synced 2025-02-25 07:25:32 +08:00
Merge pull request #2914 from st3iny/enh/noid/trilium-data-dir-docker-start
Fix TRILIUM_DATA_DIR permissions in start-docker.sh
This commit is contained in:
commit
0c6efb0cb7
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
chown -R node:node /home/node
|
||||
[ -d "$TRILIUM_DATA_DIR" ] && chown -R node:node "$TRILIUM_DATA_DIR"
|
||||
su-exec node node ./src/www
|
||||
|
|
Loading…
Reference in a new issue