mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 03:08:09 +08:00
change from gosu to just su
This commit is contained in:
parent
50a6a1f3dc
commit
138b85dd3c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,4 +4,4 @@
|
|||
[[ ! -z "${USER_GID}" ]] && groupmod -og ${USER_GID} node || echo "No USER_GID specified, leaving 1000"
|
||||
|
||||
chown -R node:node /home/node
|
||||
exec gosu node node ./src/www
|
||||
exec su -c "node ./src/www" node
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue