forked from ungleich-public/cdist
		
	[type/__postgres_conf] Add NetBSD PostgreSQL UNIX user
This commit is contained in:
		
					parent
					
						
							
								4967c7ebbb
							
						
					
				
			
			
				commit
				
					
						f9ebb4333c
					
				
			
		
					 1 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -51,15 +51,14 @@ quote() {
 | 
			
		|||
 | 
			
		||||
case ${os}
 | 
			
		||||
in
 | 
			
		||||
	(netbsd)
 | 
			
		||||
		postgres_user='pgsql'
 | 
			
		||||
		;;
 | 
			
		||||
	(openbsd)
 | 
			
		||||
		postgres_user='_postgresql'
 | 
			
		||||
		;;
 | 
			
		||||
	(devuan)
 | 
			
		||||
		postgres_user='postgres'
 | 
			
		||||
		;;
 | 
			
		||||
	(*)
 | 
			
		||||
		echo "Unsupported OS: ${os}" >&2
 | 
			
		||||
		exit 1
 | 
			
		||||
		postgres_user='postgres'
 | 
			
		||||
		;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue