Lines Matching refs:units
12 "list-units:List units"
13 "start:Start (activate) one or more units"
14 "stop:Stop (deactivate) one or more units"
15 "reload:Reload one or more units"
16 "restart:Start or restart one or more units"
17 "condrestart:Restart one or more units if active"
18 "try-restart:Restart one or more units if active"
19 "reload-or-restart:Reload one or more units if possible, otherwise start or restart"
20 "force-reload:Reload one or more units if possible, otherwise restart if active"
21 "try-reload-or-restart:Reload one or more units if possible, otherwise restart if active"
24 "is-active:Check whether units are active"
25 "is-failed:Check whether units are failed"
26 "status:Show runtime status of one or more units"
27 "show:Show properties of one or more units/jobs or the manager"
30 "help:Show documentation for specified units"
31 "reset-failed:Reset failed state for all, one, or more units"
33 "clean:Remove configuration, state, cache, logs or runtime data of units"
52 "mask:Mask one or more units"
53 "unmask:Unmask one or more units"
54 "link:Link one or more units files into the search path"
161 _sys_all_units=( ${${(f)"$(__systemctl list-units --all "$PREFIX*" )"}%% *} )
166 # Fills the unit list including all file units
186 local -a units; units=("${(q-)@}")
188 …props=(${(f)"$(_call_program units "$service $_sys_service_mgr show --no-pager --property=\"Id,$pr…
195 __systemctl $mode list-units --all "$PREFIX*"
202 …_systemctl_active_units() {_sys_active_units=( ${${(f)"$(__systemctl list-units "$PREFIX*" )"}%%…
209 __systemctl $mode list-units --state inactive,failed "$PREFIX*"
218 __systemctl $mode list-units "$PREFIX*"
223 …_systemctl_failed_units() {_sys_failed_units=( ${${(f)"$(__systemctl list-units --state=failed "$…
238 _wanted systemd-units expl unit \
247 _wanted systemd-units expl unit \
256 _wanted systemd-units expl 'enabled unit' \
263 _wanted systemd-units expl 'enabled/disabled unit' \
271 _wanted systemd-units expl 'disabled unit' \
279 _wanted systemd-units expl 'failed unit' \
287 _wanted systemd-units expl 'startable unit' \
296 _wanted systemd-units expl 'stoppable unit' \
306 _wanted systemd-units expl 'isolatable unit' \
316 _wanted systemd-units expl 'reloadable unit' \
327 _wanted systemd-units expl 'restartable unit' \
336 _wanted systemd-units expl 'masked unit' \
337 compadd "$@" - ${(k)_sys_unit_state[(R)masked]} || _message "no masked units found"
393 # emergency exit halt kexec list-jobs list-units
470 {-t+,--type=}'[List only units of a particular type]:unit type:_systemctl_unit_types' \
471 '--state=[Display units in the specified state]:unit state:_systemctl_unit_states' \
474 {-a,--all}'[Show all units/properties, including dead/empty ones]' \
476 '--after[Show units ordered after]' \
477 '--before[Show units ordered before]' \
502 '--failed[Show failed units]' \