mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	This will create /var/lib/barman and set correct permissions. The default config file states 'barman_home = /var/lib/barman'. If this directory doesn't exist, there will be errors at runtime, for example: / # barman cron ERROR: [Errno 2] No such file or directory: '/var/lib/barman/.streaming-pg-cron.lock'
		
			
				
	
	
		
			5 lines
		
	
	
		
			136 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			136 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| addgroup -S barman 2>/dev/null
 | |
| adduser -SD -h /var/lib/barman/ -s /sbin/nologin -G barman -g barman barman 2>/dev/null
 | |
| exit 0
 |