mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-11-03 23:33:00 +00:00 
			
		
		
		
	cleanup: renamed startup options
cleanup: central startup options file: /etc/mympd/options
This commit is contained in:
		@@ -3,16 +3,8 @@ Description=myMPD server daemon
 | 
			
		||||
Requires=network.target local-fs.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Environment=MPD_HOST=localhost
 | 
			
		||||
Environment=MPD_PORT=6600
 | 
			
		||||
Environment=MPD_PASSWORD=
 | 
			
		||||
Environment=WEB_PORT=80
 | 
			
		||||
Environment=MYMPD_USER=nobody
 | 
			
		||||
Environment=COVERIMAGE=--coverimage folder.jpg
 | 
			
		||||
Environment=STATEFILE=--statefile /var/lib/mympd/mympd.state
 | 
			
		||||
#Environment=SSL=-S -W 443 -C /etc/mympd/ssl/server.pem -K /etc/mympd/ssl/server.key
 | 
			
		||||
EnvironmentFile=/etc/default/mympd
 | 
			
		||||
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $COVERIMAGE $STATEFILE $SSL
 | 
			
		||||
EnvironmentFile=/etc/mympd/options
 | 
			
		||||
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --mpdhost $MPD_HOST --mpdport $MPD_PORT $MPD_PASSWORD $COVERIMAGE $STATEFILE $SSL
 | 
			
		||||
Type=simple
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user