1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-14 01:54:49 +00:00
ympd/contrib/mympd.service
jcorporation 78a7c84a9c Fix mympd.service
Update minified files for release
2018-06-24 19:25:58 +01:00

19 lines
541 B
Desktop File

[Unit]
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
EnvironmentFile=/etc/default/mympd
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $COVERIMAGE $STATEFILE
Type=simple
[Install]
WantedBy=multi-user.target