1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-26 19:10:25 +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

@ -54,6 +54,13 @@ Usage: ./mympd [OPTION]...
--help this help
```
SSL
---
1. Create ca and certificate ```/path/to/src/contrib/crcert.sh```
2. Start mympd with -S
3. Import ```/etc/mympd/ssl/ca/ca.pem``` in your browser to trust the certificate
Copyright
---------
ympd: 2013-2014 <andy@ndyk.de>

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]