mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-15 17:06:48 +02:00
Update extra/entrypoint.sh
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
c8b4887f6e
commit
524abb6a30
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ echo "==> Starting application as user: $(id -u) ($USER) and group $(id -g)"
|
|||
# --clear-groups Clear supplementary groups.
|
||||
if [ $(id -u) -eq 0 ];
|
||||
then
|
||||
#We're running as root, so we can use setpriv without problems.
|
||||
# We're running as root, so we can use setpriv without problems.
|
||||
exec setpriv --reuid "$PUID" --regid "$PGID" --clear-groups "$@"
|
||||
else
|
||||
#We're running as a regular user, so we'll launch the app as one.
|
||||
|
|
Loading…
Add table
Reference in a new issue