1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-09-28 06:18:13 +00:00

Updated contrib files with all parameters

This commit is contained in:
jcorporation 2018-05-27 15:22:18 +01:00
parent 98e87926f6
commit 0a1bbfbcd5
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,9 @@
#Copy this file to /etc/default/mympd
MPD_HOST=localhost
MPD_PORT=6600
MPD_PASSWORD=
WEB_PORT=80
MYMPD_USER=nobody
COVERIMAGE=--coverimage folder.jpg
#DIGEST=--digest /path/to/htdigest
#LOCALPORT=--localport 8080
#LOCALPORT=--localport 80

View File

@ -10,8 +10,9 @@ Environment=WEB_PORT=80
Environment=MYMPD_USER=nobody
Environment=DIGEST=
Environment=LOCALPORT=
Environment=COVERIMAGE=--coverimage folder.jpg
EnvironmentFile=/etc/default/mympd
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $DIGEST $LOCALPORT
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $COVERIMAGE $DIGEST $LOCALPORT
Type=simple
[Install]