librespot.service 234 B

123456789101112131415
  1. [Unit]
  2. Description=Librespot
  3. Requires=network-online.target
  4. After=network-online.target
  5. [Service]
  6. User=nobody
  7. Group=audio
  8. Restart=always
  9. RestartSec=10
  10. ExecStart=/usr/bin/librespot -n "%p on %H"
  11. [Install]
  12. WantedBy=multi-user.target