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
|
|
|
|
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-05-01 21:11:15 +00:00
|
|
|
EnvironmentFile=/etc/default/ympd
|
2016-09-11 15:54:25 +00:00
|
|
|
ExecStart=/usr/bin/ympd --user $YMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT --dirbletoken $DIRBLE_API_TOKEN
|
2014-01-21 21:01:24 +00:00
|
|
|
Type=simple
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|