ympd.service 521 B

1234567891011121314151617
  1. [Unit]
  2. Description=ympd server daemon
  3. Requires=network.target local-fs.target
  4. [Service]
  5. Environment=MPD_HOST=localhost
  6. Environment=MPD_PORT=6600
  7. Environment=MPD_PASSWORD=
  8. Environment=WEB_PORT=8080
  9. Environment=YMPD_USER=nobody
  10. Environment=DIRBLE_API_TOKEN=2e223c9909593b94fc6577361a
  11. EnvironmentFile=/etc/default/ympd
  12. ExecStart=/usr/bin/ympd --user $YMPD_USER --mpdpass "$MPD_PASSWORD" --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT --dirbletoken $DIRBLE_API_TOKEN
  13. Type=simple
  14. [Install]
  15. WantedBy=multi-user.target