Difference between revisions of "Launchctl (command)"
Jump to navigation
Jump to search
↑ https://ss64.com/osx/launchctl.html
↑ https://serverfault.com/questions/194832/how-to-start-stop-restart-launchd-services-from-the-command-line
↑ https://serverfault.com/questions/194832/how-to-start-stop-restart-launchd-services-from-the-command-line
(Created page with "launchctl<ref>https://ss64.com/osx/launchctl.html</ref> macOS (command) interfaces with launchd daemon to load, unload daemons/agents and generally c...") |
|||
Line 1: | Line 1: | ||
− | [[wikipedia:Launchd|launchctl]]<ref>https://ss64.com/osx/launchctl.html</ref> macOS (command) interfaces with [[launchd]] daemon to load, unload daemons/agents and generally control launchd. | + | <code>[[wikipedia:Launchd|launchctl]]</code><ref>https://ss64.com/osx/launchctl.html</ref> macOS (command) interfaces with [[launchd]] daemon to load, unload daemons/agents and generally control launchd. |
== Folders == | == Folders == |
Revision as of 06:11, 12 December 2019
launchctl
[1] macOS (command) interfaces with launchd daemon to load, unload daemons/agents and generally control launchd.
Folders
/System/Library/LaunchDaemons
/System/Library/LaunchAgents
/Library/LaunchDaemons
Commands
sudo launchctl list
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
[2]sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist
sudo launchctl stop /System/Library/LaunchDaemons/YOUR_DAEMON.plist
[3]sudo launchctl start /System/Library/LaunchDaemons/YOUR_DAEMON.plis
See also
Advertising: