nicokaiser / rpi-audio-receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay 2, and Spotify Connect
MIT License
1.37k stars 148 forks source link

Update install-spotify.sh #117

Closed peterdcrees closed 2 years ago

peterdcrees commented 2 years ago

raspotify service has switched to using systemd 'Dynamic User'. See: https://github.com/dtcooper/raspotify/commit/014457af689b56d3dfec06d429146080f9fb54c8#diff-2fb1f135f17c0c89ef4d5cef05eb46497a029b6c76ca4d1d00d70fc139a45009 This causes the 'usermod' command to exit with an error.
usermod command removed and replaced. New command creates a systemd override.conf to add the raspostify service user to the 'gpio' group with the 'SupplementaryGroups' setting.