Skip to content
launchctl

launchctl

managing services (load, unload, restart)

enable and load a service:

launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.example.your-app

disable and unload a service

launchctl bootout gui/$(id -u)/com.example.your-app

restart a service:

launchctl kickstart -k gui/$(id -u)/com.example.your-app