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
|
2015-11-13 14:07:07 +00:00
|
|
|
Environment=DIGEST=
|
2015-05-01 21:11:15 +00:00
|
|
|
EnvironmentFile=/etc/default/ympd
|
2015-11-13 14:07:07 +00:00
|
|
|
ExecStart=/usr/bin/ympd --user $YMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $DIGEST
|
2014-01-21 21:01:24 +00:00
|
|
|
Type=simple
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|