Fix TRILIUM_DATA_DIR permissions in start-docker.sh

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2022-06-12 23:21:43 +02:00
parent 7ba619c71d
commit 566111ce82
No known key found for this signature in database
GPG key ID: 27137D9E7D273FB2

View file

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
chown -R node:node /home/node chown -R node:node /home/node
[ -d "$TRILIUM_DATA_DIR" ] && chown -R node:node "$TRILIUM_DATA_DIR"
su-exec node node ./src/www su-exec node node ./src/www