1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-11-03 23:33:00 +00:00

cleanup: renamed startup options

cleanup: central startup options file: /etc/mympd/options
This commit is contained in:
jcorporation
2018-07-15 23:26:59 +01:00
parent 3c1dfe82f6
commit cf34f41467
8 changed files with 32 additions and 41 deletions

View File

@@ -3,16 +3,8 @@ Description=myMPD server daemon
Requires=network.target local-fs.target
[Service]
Environment=MPD_HOST=localhost
Environment=MPD_PORT=6600
Environment=MPD_PASSWORD=
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 $SSL
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
Type=simple
[Install]