mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-27 03:10:26 +00:00
Add ssl options to README.MD and contrib files
This commit is contained in:
parent
c1a531f162
commit
c19161752c
@ -54,6 +54,13 @@ Usage: ./mympd [OPTION]...
|
|||||||
--help this help
|
--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
|
Copyright
|
||||||
---------
|
---------
|
||||||
ympd: 2013-2014 <andy@ndyk.de>
|
ympd: 2013-2014 <andy@ndyk.de>
|
||||||
|
@ -5,4 +5,5 @@ MPD_PASSWORD=
|
|||||||
WEB_PORT=80
|
WEB_PORT=80
|
||||||
MYMPD_USER=nobody
|
MYMPD_USER=nobody
|
||||||
COVERIMAGE=--coverimage folder.jpg
|
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
|
||||||
|
@ -10,8 +10,9 @@ Environment=WEB_PORT=80
|
|||||||
Environment=MYMPD_USER=nobody
|
Environment=MYMPD_USER=nobody
|
||||||
Environment=COVERIMAGE=--coverimage folder.jpg
|
Environment=COVERIMAGE=--coverimage folder.jpg
|
||||||
Environment=STATEFILE=--statefile /var/lib/mympd/mympd.state
|
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
|
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
|
Type=simple
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user