mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +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:
		| @@ -3,17 +3,15 @@ | ||||
|  | ||||
| set -e | ||||
|  | ||||
| echo | ||||
| echo "------------------------------------- | ||||
| echo " | ||||
| ------------------------------------- | ||||
|  _   _ ____  __  __ | ||||
| | \ | |  _ \|  \/  | | ||||
| |  \| | |_) | |\/| | | ||||
| | |\  |  __/| |  | | | ||||
| |_| \_|_|   |_|  |_| | ||||
| -------------------------------------" | ||||
| if [[ "$PUID" -ne '0' ]]; then | ||||
| 	echo "User UID: $(id -u npmuser)" | ||||
| 	echo "User GID: $(id -g npmuser)" | ||||
| 	echo "-------------------------------------" | ||||
| fi | ||||
| echo | ||||
| ------------------------------------- | ||||
| User ID:  $PUID | ||||
| Group ID: $PGID | ||||
| ------------------------------------- | ||||
| " | ||||
|   | ||||
		Reference in New Issue
	
	Block a user