We want to run the public server as user www-data. Requests needing root priviledges needs to be proxied to the proxmox-backup.service, which now listens to 127.0.0.1:82.
		
			
				
	
	
		
			14 lines
		
	
	
		
			277 B
		
	
	
	
		
			Makefile
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			277 B
		
	
	
	
		
			Makefile
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/make -f
 | |
| # See debhelper(7) (uncomment to enable)
 | |
| # output every command that modifies files on the build system.
 | |
| #DH_VERBOSE = 1
 | |
| 
 | |
| 
 | |
| %:
 | |
| 	dh $@ --with=systemd --with=bash-completion
 | |
| 
 | |
| 
 | |
| override_dh_installinit:
 | |
| 	dh_installinit
 | |
| 	dh_installinit --name proxmox-backup-proxy
 |