Created
November 20, 2020 15:02
-
-
Save matiaskorhonen/ed4d889aec00b00557adf569abe71d74 to your computer and use it in GitHub Desktop.
Librespot (https://github.com/librespot-org/librespot) systemd config (/etc/systemd/system/librespot.service)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Librespot | |
Requires=network-online.target | |
After=network-online.target | |
[Service] | |
User=nobody | |
Group=audio | |
Restart=always | |
RestartSec=10 | |
ExecStart=/usr/local/bin/librespot --name Hoki --bitrate 320 --initial-volume 75 --enable-volume-normalisation --cache=/tmp | |
PrivateTmp=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment