This allows using the file as a user unit, where "%t" maps to "$XDG_RUNTIME_DIR". Proposed in https://github.com/MusicPlayerDaemon/MPD/issues/530
		
			
				
	
	
		
			10 lines
		
	
	
		
			135 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			135 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
[Socket]
 | 
						|
ListenStream=%t/mpd/socket
 | 
						|
ListenStream=6600
 | 
						|
Backlog=5
 | 
						|
KeepAlive=true
 | 
						|
PassCredentials=true
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=sockets.target
 |