mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-28 17:21:52 +00:00
51a697201b
Include a systemd.service file to run as a user This new `systemd.service` file allows running and controlling the service as an unpriviledged user (generally, as part of a user session).
12 lines
307 B
Desktop File
12 lines
307 B
Desktop File
[Unit]
|
|
Description=Librespot (an open source Spotify client)
|
|
Documentation=https://github.com/librespot-org/librespot
|
|
Documentation=https://github.com/librespot-org/librespot/wiki/Options
|
|
|
|
[Service]
|
|
Restart=always
|
|
RestartSec=10
|
|
ExecStart=/usr/bin/librespot --name "%u@%H"
|
|
|
|
[Install]
|
|
WantedBy=default.target
|