Skip to content

Commit

Permalink
fix: correct execstart
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Oct 28, 2023
1 parent 00325af commit b6f654d
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 @@ -8,7 +8,8 @@ curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/In
chmod +x /usr/bin/rescrobbled

echo "Downloading rescrobbled systemd unit"
curl https://raw.githubusercontent.com/InputUsername/rescrobbled/master/rescrobbled.service > /usr/lib/systemd/user/rescrobbled.service
curl https://raw.githubusercontent.com/InputUsername/rescrobbled/master/rescrobbled.service > /tmp/rescrobbled.service
sed 's/ExecStart=.*/ExecStart=\/usr\/bin\/rescrobbled/' /tmp/rescrobbled.service > /usr/lib/systemd/user/rescrobbled.service

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

0 comments on commit b6f654d

Please sign in to comment.