mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 02:06:25 +00:00
Run as root by default
Optionally run as another user/group only if the env vars are specified. Should give flexibility to those who need to run processes as root and open ports without having to request additional priveleges
This commit is contained in:
@ -10,8 +10,10 @@ echo "-------------------------------------
|
||||
| \| | |_) | |\/| |
|
||||
| |\ | __/| | | |
|
||||
|_| \_|_| |_| |_|
|
||||
-------------------------------------
|
||||
User UID: $(id -u npmuser)
|
||||
User GID: $(id -g npmuser)
|
||||
-------------------------------------
|
||||
"
|
||||
-------------------------------------"
|
||||
if [[ "$PUID" -ne '0' ]]; then
|
||||
echo "User UID: $(id -u npmuser)"
|
||||
echo "User GID: $(id -g npmuser)"
|
||||
echo "-------------------------------------"
|
||||
fi
|
||||
echo
|
||||
|
Reference in New Issue
Block a user