1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-10-31 05:43:01 +00:00

Add ssl options to README.MD and contrib files

This commit is contained in:
jcorporation
2018-07-10 22:58:48 +01:00
parent c1a531f162
commit c19161752c
3 changed files with 11 additions and 2 deletions

View File

@@ -5,4 +5,5 @@ MPD_PASSWORD=
WEB_PORT=80
MYMPD_USER=nobody
COVERIMAGE=--coverimage folder.jpg
STATEFILE=--statefile /var/lib/mympd/mympd.state
STATEFILE=--statefile /var/lib/mympd/mympd.state
#SSL=-S -W 443 -C /etc/mympd/ssl/server.pem -K /etc/mympd/ssl/server.key

View File

@@ -10,8 +10,9 @@ 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
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $COVERIMAGE $STATEFILE $SSL
Type=simple
[Install]