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
↑ https://wiki.ubuntu.com/DebuggingSystemd
Line 16: | Line 16: | ||
== See also == | == See also == | ||
− | * | + | * {{systemd}} |
[[Category:macOS]] | [[Category:macOS]] | ||
[[Category:Operating systems]] | [[Category:Operating systems]] |
Revision as of 06:12, 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
- 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: