Search code examples
macoshomebrewroot

Change "user" of a brew service


I have 2 brew services on my MacOS, which have their user level as root. I wish to change their user level to individual users and remove their root accesses. How can I do that?

I have tried uninstalling and then reinstalling them but got no luck.

brew-services-list command output(image)

list of plist files(image)

PS: I'm relatively new here. So need your assistance in properly delivering the question.


Solution

  • If you want to run brew services as non root user follow these steps:

    • sudo brew services stop redis
    • brew services start redis