Merge pull request #23 from archphile/master

syntax modifications on options and mympd.service
This commit is contained in:
Jürgen Mang 2018-07-25 00:59:38 +02:00 committed by GitHub
commit bc13795c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
[Unit]
Description=myMPD server daemon
Requires=network.target local-fs.target
Requires=network.target local-fs.target mpd.service
[Service]
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
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --mpdhost $MPD_HOST --mpdport $MPD_PORT --mpdpass $MPD_PASSWORD --coverimage $COVERIMAGE --statefile $STATEFILE $SSL
Type=simple
[Install]

View File

@ -1,9 +1,9 @@
#myMPD startup options
MPD_HOST=localhost
MPD_PORT=6600
#MPD_PASSWORD=--mpdpass PASSWORD
#MPD_PASSWORD=PASSWORD
WEB_PORT=80
SSL=-S -W 443 -C /etc/mympd/ssl/server.pem -K /etc/mympd/ssl/server.key
MYMPD_USER=nobody
COVERIMAGE=--coverimage folder.jpg
STATEFILE=--statefile /var/lib/mympd/mympd.state
COVERIMAGE=folder.jpg
STATEFILE=/var/lib/mympd/mympd.state