Launchctl (command)
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
- Systemd:
systemctl
,systemd-journald
,journalctl
systemd-cat
,systemd-logind
,systemd-networkd
:networkctl
,systemd-timesyncd
,systemd-resolved
,systemd-udevd
[4],Systemd-logind: loginctl
,hostnamectl
,udevadm
,systemd-run
,portablectl
,systemd-nspawn
, systemd resource management, Timer (systemd), systemd logs,/etc/systemd/
, systemd services,systemd-mount
,/run/systemd/
,.service
,/usr/lib/systemd/
,/usr/lib/systemd/system/
,/usr/lib/systemd/system/systemd-resolved.service
,/lib/systemd/
, machinectl, systemd-oomd, systemd-analyze
Advertising: