mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +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).
16 lines
393 B
Desktop File
16 lines
393 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
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
User=nobody
|
|
Group=audio
|
|
Restart=always
|
|
RestartSec=10
|
|
ExecStart=/usr/bin/librespot --name "%p@%H"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|