librespot/assets/librespot.service
herrernst 6f85deadd9 don't run as root, drop privileges
nobody:audio should exists on most distributions
explicit user would be prefered
2017-01-06 02:21:04 +01:00

15 lines
234 B
Desktop File

[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