mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-17 03:04:47 +00:00
20 lines
531 B
Desktop File
20 lines
531 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=DIGEST=
|
|
Environment=LOCALPORT=
|
|
Environment=COVERIMAGE=--coverimage folder.jpg
|
|
EnvironmentFile=/etc/default/mympd
|
|
ExecStart=/usr/bin/mympd --user $MYMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $COVERIMAGE $DIGEST $LOCALPORT
|
|
Type=simple
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|