Closed Finnasaurus closed 1 year ago
Can you try
rm -f /Users/finn/Library/LaunchAgents/homebrew.mxcl.apple-music-discord-rpc.plist
(you may need to sudo it)
brew services stop apple-music-discord-rpc
brew services start apple-music-discord-rpc
and report me the output of brew services
Name Status User File
apple-music-discord-rpc none root
Send me brew services info apple-music-discord-rpc
sorry, was busy for the week
apple-music-discord-rpc (homebrew.mxcl.apple-music-discord-rpc)
Running: ✘
Loaded: ✘
Schedulable: ✘
Hmm, re-execute brew services start apple-music-discord-rpc
and resend me brew services info apple-music-discord-rpc
.
If everything goes well, the output should be
apple-music-discord-rpc (homebrew.mxcl.apple-music-discord-rpc)
Running: ✔
Loaded: ✔
Schedulable: ✘
User: <...>
PID: <...>
hey man, the problem was that I couldn't launcher with brew services start
Well, let's try fixing the perms
sudo chown -R $(id -u):$(id -g) ~/Library/LaunchAgents/
chmod 755 ~/Library/LaunchAgents/
rm -f Library/LaunchAgents/homebrew.mxcl.apple-music-discord-rpc.plist
brew services start apple-music-discord-rpc
If it still not works, it may be a homebrew bug
this seemed to have helped with the loading issue
finn@Mac-mini ~ % brew services info apple-music-discord-rpc
apple-music-discord-rpc (homebrew.mxcl.apple-music-discord-rpc)
Running: ✘
Loaded: ✔
Schedulable: ✘
You may have to restart the system then confirm it is working fine
as far as I'm aware (which is little), brew install doesn't actually automatically create the plist in launch agent anymore on the M1 Mac, I've tried reinstalling too but to no avail.
had to resort to adding the app to apple's startup app manually, any suggestion to do it more elegantly?
the error in question is
Error: Permission denied @ rb_sysopen - /Users/finn/Library/LaunchAgents/homebrew.mxcl.apple-music-discord-rpc.plist
but upon looking through the folder "LaunchAgents", the plist file doesn't even exist