How to stop and restart a service
Does anyone know the commands to stop/restart a particular service via Terminal?
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
Does anyone know the commands to stop/restart a particular service via Terminal?
dmatt110 wrote:
What you provided is like 10 years old and is not valid for Catalina. Thanks anyway.
It's still valid for Catalina. You just have to disable SIP first. The "list" subcommand is deprecated. You should use "print" and the appropriate domain instead.
What are you trying to do anyway? And why?
dmatt110 wrote:
What you provided is like 10 years old and is not valid for Catalina. Thanks anyway.
It's still valid for Catalina. You just have to disable SIP first. The "list" subcommand is deprecated. You should use "print" and the appropriate domain instead.
What are you trying to do anyway? And why?
Yep, here you go...
sudo launchctl load -w /System/Library/LaunchDaemons/***.plist
You can stop the service using the unload subcommand.
sudo launchctl unload /System/Library/LaunchDaemons/***.plist
To list the services, as you might have already guessed use the 'list' subcommand ;)
What you provided is like 10 years old and is not valid for Catalina. Thanks anyway.
Oh, you posted in the High Sierra forum, I had no idea you were on Catalina.
How to stop and restart a service