mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 11:56:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			277 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			277 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
[ ! -z "${USER_UID}" ] && usermod -u ${USER_UID} node || echo "No USER_UID specified, leaving 1000"
 | 
						|
[ ! -z "${USER_GID}" ] && groupmod -og ${USER_GID} node || echo "No USER_GID specified, leaving 1000"
 | 
						|
 | 
						|
chown -R node:node /home/node
 | 
						|
exec su -c "node ./main.cjs" node |