All apps/launchctl

launchctl

launchctl

Interface to launchd on macOS.

Runs as launchctl|macOS

Command form

ai-draft · 3 tasks · 5 fields

Inspect and restart launchd services. Load/unload and system changes are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui launchctl

launchctl list

List services

List services or show one.

List servicesExample values, fixed in this page — nothing here reaches a terminal
Basic
Label
string
TasksEach one presets the form for one job
List
label
ParametersOnly these flags are editable in the form
Label
Leave empty to list all.
string · positional 0

launchctl print

Print service

Print a description of a domain or service.

Print serviceExample values, fixed in this page — nothing here reaches a terminal
Basic
Service or domain target*
string
TasksEach one presets the form for one job
Print
service
ParametersOnly these flags are editable in the form
Service or domain target
e.g. gui/501/com.example.app.
string · positional 0

launchctl kickstart

Start service

Force an existing service to start.

Start serviceExample values, fixed in this page — nothing here reaches a terminal
Basic
Service target*
string
Print PID
-p
TasksEach one presets the form for one job
Restart service
servicepid
ParametersOnly these flags are editable in the form
Service target
e.g. gui/501/com.example.app.
string · positional 0
Kill first
boolean
-k
Print PID
boolean
-p
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed launchctl against its version. A form that does not match your version is not offered.