mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 02:06:25 +00:00
Different approach, always create npmuser
even if the user id is zero, and then we'll always use it
This commit is contained in:
@ -5,10 +5,5 @@ set -e
|
||||
|
||||
. /bin/common.sh
|
||||
|
||||
if [ "$PUID" = '0' ]; then
|
||||
log_info 'Starting nginx ...'
|
||||
exec nginx
|
||||
else
|
||||
log_info "Starting nginx as npmuser ($PUID) ..."
|
||||
exec s6-setuidgid npmuser nginx
|
||||
fi
|
||||
log_info 'Starting nginx ...'
|
||||
exec s6-setuidgid npmuser nginx
|
||||
|
Reference in New Issue
Block a user