librespot/contrib/librespot.service

16 lines
234 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Librespot
Requires=network-online.target
After=network-online.target
[Service]
User=nobody
Group=audio
Restart=always
RestartSec=10
ExecStart=/usr/bin/librespot -n "%p on %H"
[Install]
WantedBy=multi-user.target