1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-14 01:54:49 +00:00
ympd/contrib/ympd.service
Archphile d4865aca9d
fixed a typo
Replaced $DIRBLE_API_TOKE with $DIRBLE_API_TOKEN in order for the service to be functional.
2018-03-05 13:54:46 +02:00

18 lines
521 B
Desktop File

[Unit]
Description=ympd server daemon
Requires=network.target local-fs.target
[Service]
Environment=MPD_HOST=localhost
Environment=MPD_PORT=6600
Environment=MPD_PASSWORD=
Environment=WEB_PORT=8080
Environment=YMPD_USER=nobody
Environment=DIRBLE_API_TOKEN=2e223c9909593b94fc6577361a
EnvironmentFile=/etc/default/ympd
ExecStart=/usr/bin/ympd --user $YMPD_USER --mpdpass "$MPD_PASSWORD" --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT --dirbletoken $DIRBLE_API_TOKEN
Type=simple
[Install]
WantedBy=multi-user.target