Skip to content

Commit

Permalink
chore: chmod binary, dl service to correct dir
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Oct 28, 2023
1 parent 3db0bf0 commit 00325af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/scripts/rescrobbled.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ echo "Downloading latest rescrobbled binary"
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/InputUsername/rescrobbled/releases/latest \
| jq .assets[0].browser_download_url \
| xargs wget -o /usr/bin/rescrobbled
chmod +x /usr/bin/rescrobbled

echo "Downloading rescrobbled systemd unit"
curl https://raw.githubusercontent.com/InputUsername/rescrobbled/master/rescrobbled.service > Downloads/rescrobbled.service
curl https://raw.githubusercontent.com/InputUsername/rescrobbled/master/rescrobbled.service > /usr/lib/systemd/user/rescrobbled.service

echo "Enabling rescrobbled systemd unit"
systemctl enable --global -f rescrobbled.service

0 comments on commit 00325af

Please sign in to comment.