librespot/assets/librespot.service
herrernst b9eb4de090 add basic systemd service unit example
put to /etc/systemd/system/librespot.service and then do `systemctl daemon-reload`
2016-12-30 16:59:18 +01:00

14 lines
226 B
Desktop File

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