2014-01-21 21:01:24 +00:00
|
|
|
[Unit]
|
|
|
|
Description=ympd server daemon
|
|
|
|
Requires=network.target local-fs.target
|
|
|
|
|
|
|
|
[Service]
|
2014-04-12 17:45:40 +00:00
|
|
|
Environment=MPD_HOST=localhost
|
|
|
|
Environment=MPD_PORT=6600
|
2017-02-18 17:00:28 +00:00
|
|
|
Environment=MPD_PASSWORD=
|
2014-04-12 17:45:40 +00:00
|
|
|
Environment=WEB_PORT=8080
|
2015-05-01 21:11:15 +00:00
|
|
|
Environment=YMPD_USER=nobody
|
2016-09-11 15:54:25 +00:00
|
|
|
Environment=DIRBLE_API_TOKEN=2e223c9909593b94fc6577361a
|
2015-11-13 14:07:07 +00:00
|
|
|
Environment=DIGEST=
|
2015-05-01 21:11:15 +00:00
|
|
|
EnvironmentFile=/etc/default/ympd
|
2018-02-03 11:51:20 +00:00
|
|
|
ExecStart=/usr/bin/ympd --user $YMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT --dirbletoken $DIRBLE_API_TOKEN $DIGEST
|
2014-01-21 21:01:24 +00:00
|
|
|
Type=simple
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|