mirror of
https://github.com/zadam/trilium.git
synced 2025-02-21 21:43:55 +08:00
Merge pull request #4632 from bavis-m/master
Add the -o option to the groupmod command used in start-docker.sh
This commit is contained in:
commit
239786e7d1
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
[[ ! -z "${USER_UID}" ]] && usermod -u ${USER_UID} node || echo "No USER_UID specified, leaving 1000"
|
||||
[[ ! -z "${USER_GID}" ]] && groupmod -g ${USER_GID} node || echo "No USER_GID specified, leaving 1000"
|
||||
[[ ! -z "${USER_GID}" ]] && groupmod -og ${USER_GID} node || echo "No USER_GID specified, leaving 1000"
|
||||
|
||||
chown -R node:node /home/node
|
||||
exec su-exec node node ./src/www
|
||||
|
|
Loading…
Reference in a new issue