mac osx - How to start/stop/restart launchd services from
To restart a service, you can use the launchctl kickstart command, together with the -k option. For example, to restart apache, you can use. sudo launchctl kickstart -k system/org.apache.httpd This information is from the launchctl manual page:. kickstart [-kp] service-target Instructs launchd to run the specified service immediately, regardless of its configured launch conditions.
DA: 72 PA: 60 MOZ Rank: 64 Up or Down: Up