How to stop and restart a service
Does anyone know the commands to stop/restart a particular service via Terminal?
Apple Event: May 7th at 7 am PT
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