Home
last modified time | relevance | path

Searched refs:units (Results 1 – 25 of 194) sorted by relevance

12345678

/systemd-251/shell-completion/zsh/
D_systemctl.in12 "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"
[all …]
D_systemd-analyze17 systemctl list-units --no-legend --no-pager --plain --all |
49 'blame:Print list of running units ordered by time to init'
50 'critical-chain:Print a tree of the time critical chain of units'
55 'unit-files:List files and symlinks for units'
/systemd-251/docs/
DTRANSIENT-SETTINGS.md11 also available for transient units, through the D-Bus API. At the moment,
12 device, swap, and target units are not supported at all as transient units, but
16 ones currently available in transient units are prefixed with `✓`.
20 Most generic unit settings are available for transient units.
109 All execution-related settings are available for transient units.
234 All cgroup/resource control settings are available for transient units
288 All process killing settings are available for transient units:
302 Most service unit settings are available for transient units.
344 All mount unit settings are available to transient units:
361 All automount unit setting is available to transient units:
[all …]
DDESKTOP_ENVIRONMENTS.md27 ## Pre-defined systemd units
33 All units should be placed into one of these slices depending on their purposes:
46 TODO: Will there be a default to place units into e.g. `app.slice` by default
54 * Application units should follow the scheme `app[-<launcher>]-<ApplicationID>[@<RANDOM>].service`
62 * Using `.service` units instead of `.scope` units, i.e. allowing systemd to
96 to create appropriate units for the autostart directory
105 all generated units will have `After=graphical-session.target` set on them,
116 … Are there strong opinions on how the session-leader process should watch the user's session units?
DAUTOMATIC_BOOT_ASSESSMENT.md48 serves as a generic extension point both for units that are necessary to
50 as described above), and units that want to act only if the boot is
130 8. The `boot-complete.target` unit is ordered after and pulls in various units
170 considered successful, simply place them in units (if they aren't already)
173 cannot be reached when any of the units fail. You may add any number of
174 units like this, and only if they all succeed the boot entry is marked as
175 good. Note that the target unit shall pull in these boot checking units, not
/systemd-251/src/systemctl/
Dsystemctl-list-dependencies.c62 char ***units, in list_dependencies_one() argument
70 assert(units); in list_dependencies_one()
72 r = strv_extend(units, name); in list_dependencies_one()
83 if (strv_contains(*units, *c)) { in list_dependencies_one()
126 … r = list_dependencies_one(bus, *c, level + 1, units, (branches << 1) | (c[1] == NULL ? 0 : 1)); in list_dependencies_one()
133 strv_remove(*units, name); in list_dependencies_one()
139 _cleanup_strv_free_ char **units = NULL, **done = NULL; in verb_list_dependencies() local
150 units = strv_new(SPECIAL_DEFAULT_TARGET); in verb_list_dependencies()
151 if (!units) in verb_list_dependencies()
154 r = expand_unit_names(bus, patterns, NULL, &units, NULL); in verb_list_dependencies()
[all …]
Dsystemctl-list-unit-files.c52 static int output_unit_file_list(const UnitFileList *units, unsigned c) { in output_unit_file_list() argument
67 for (const UnitFileList *u = units; u < units + c; u++) { in output_unit_file_list()
71 underline = u + 1 < units + c && in output_unit_file_list()
138 _cleanup_free_ UnitFileList *units = NULL; in verb_list_unit_files() local
162 units = new(UnitFileList, n_units ?: 1); /* avoid malloc(0) */ in verb_list_unit_files()
163 if (!units) { in verb_list_unit_files()
172 units[c++] = *u; in verb_list_unit_files()
236 if (!GREEDY_REALLOC(units, c + 1)) in verb_list_unit_files()
239 units[c] = (struct UnitFileList) { in verb_list_unit_files()
244 if (output_show_unit_file(&units[c], in verb_list_unit_files()
[all …]
/systemd-251/src/rpm/
Dsystemd-update-helper.in12 install-system-units)
16 install-user-units)
20 remove-system-units)
28 remove-user-units)
33 … users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p')
41 mark-restart-system-units)
50 mark-restart-user-units)
53 … users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p')
88 … users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p')
Dmacros.systemd.in51 {{SYSTEMD_UPDATE_HELPER_PATH}} install-system-units %{?*} || : \
59 {{SYSTEMD_UPDATE_HELPER_PATH}} install-user-units %{?*} || : \
67 {{SYSTEMD_UPDATE_HELPER_PATH}} remove-system-units %{?*} || : \
75 {{SYSTEMD_UPDATE_HELPER_PATH}} remove-user-units %{?*} || : \
91 {{SYSTEMD_UPDATE_HELPER_PATH}} mark-restart-system-units %{?*} || : \
99 {{SYSTEMD_UPDATE_HELPER_PATH}} mark-restart-user-units %{?*} || : \
/systemd-251/test/
Dmeson.build9 install_subdir('units', subdir
30 install_subdir('testsuite-04.units',
33 install_subdir('testsuite-06.units',
36 install_subdir('testsuite-10.units',
39 install_subdir('testsuite-11.units',
42 install_subdir('testsuite-16.units',
45 install_subdir('testsuite-28.units',
48 install_subdir('testsuite-30.units',
51 install_subdir('testsuite-52.units',
54 install_subdir('testsuite-63.units',
[all …]
/systemd-251/src/timedate/
Dtimedated.c55 LIST_FIELDS(struct UnitStatusInfo, units);
66 LIST_HEAD(UnitStatusInfo, units);
128 while ((p = c->units)) { in context_clear()
129 LIST_REMOVE(units, c->units, p); in context_clear()
145 LIST_FOREACH(units, u, c->units) in context_add_ntp_service()
157 LIST_APPEND(units, c->units, unit); in context_add_ntp_service()
258 LIST_FOREACH(units, info, c->units) in context_ntp_service_is_active()
271 LIST_FOREACH(units, info, c->units) in context_ntp_service_exists()
423 LIST_FOREACH(units, u, c->units) { in context_update_ntp_status()
464 LIST_FOREACH(units, u, c->units) in match_job_removed()
[all …]
/systemd-251/rules.d/
D50-udev-default.rules.in57 SUBSYSTEM=="firewire", TEST=="units", TEST=="model", \
58 IMPORT{builtin}="hwdb 'ieee1394:node:ven$attr{vendor}mo$attr{model}units$attr{units}'"
60 SUBSYSTEM=="firewire", TEST=="units", TEST!="model", \
61 IMPORT{builtin}="hwdb 'ieee1394:node:ven$attr{vendor}units$attr{units}'"
63 SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_MIDI}=="1", GROUP="audio"
64 SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_AUDIO}=="1", GROUP="audio"
65 SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_VIDEO}=="1", GROUP="video"
D70-uaccess.rules.in39 SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_MIDI}=="1", TAG+="uaccess"
40 SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_AUDIO}=="1", TAG+="uaccess"
41 SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_VIDEO}=="1", TAG+="uaccess"
/systemd-251/shell-completion/bash/
Dsystemctl.in27 local units=("$@")
34 <(__systemctl $mode show --property "Names,$properties" -- "${units[@]}")
56 __get_all_units () { { __systemctl $1 list-unit-files "$2*"; __systemctl $1 list-units --all "…
58 __get_non_template_units() { { __systemctl $1 list-unit-files "$2*"; __systemctl $1 list-units --al…
62 __get_active_units () { __systemctl $1 list-units "$2*" \
66 # filter out masked, not-found, or template units.
74 # get inactive template units
75 __systemctl $1 list-units --state inactive,failed "$2*" | \
89 local units=$(
93 __filter_units_by_properties $1 ActiveState=active,CanStop=yes $units
[all …]
/systemd-251/po/
DPOTFILES.skip22 units/debug-shell.service.in
23 units/systemd-journald.service.in
24 units/systemd-timesyncd.service.in
25 units/user@.service.in
/systemd-251/src/analyze/
Danalyze-critical-chain.c77 static int list_dependencies_one(sd_bus *bus, const char *name, unsigned level, char ***units, unsi… in list_dependencies_one() argument
85 if (strv_extend(units, name)) in list_dependencies_one()
127 if (strv_contains(*units, *c)) { in list_dependencies_one()
135 … r = list_dependencies_one(bus, *c, level + 1, units, (branches << 1) | (to_print ? 1 : 0)); in list_dependencies_one()
146 _cleanup_strv_free_ char **units = NULL; in list_dependencies() local
194 return list_dependencies_one(bus, name, 0, &units, 0); in list_dependencies()
Danalyze-dot.c20 _cleanup_strv_free_ char **units = NULL; in graph_one_property() local
33 r = bus_get_unit_property_strv(bus, u->unit_path, prop, &units); in graph_one_property()
37 STRV_FOREACH(unit, units) { in graph_one_property()
/systemd-251/tools/
Danalyze-dump-sort.py23 units = {}
37 units[unit[0]] = unit
51 units[unit[0]] = unit
53 for unit in sorted(units.values()):
/systemd-251/units/user/
Dmeson.build3 units = [ variable
27 units += 'xdg-desktop-autostart.target'
30 foreach file : units
/systemd-251/test/fuzz/fuzz-udev-rules/
D50-udev-default.rules47 SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", GROUP="video"
48 SUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*", GROUP="video"
49 SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video"
50 SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video"
/systemd-251/.github/
Dlabeler.yml5 units:
6 - units/**/*
/systemd-251/test/test-network/
Dsystemd-networkd-tests.py469 def copy_unit_to_networkd_unit_path(*units, dropins=True): argument
480 for unit in units:
491 def remove_unit_from_networkd_path(units): argument
496 for unit in units:
724 units = [ variable in NetworkctlTests
741 remove_unit_from_networkd_path(self.units)
975 units = [ variable in NetworkdNetDevTests
1117 remove_unit_from_networkd_path(self.units)
1986 units = [ variable in NetworkdL2TPTests
2003 remove_unit_from_networkd_path(self.units)
[all …]
/systemd-251/test/units/
Dtestsuite-60.sh41 systemctl list-units -t mount tmp-meow* | grep -q tmp-meow
86 if systemctl list-units -t mount tmp-meow* | grep -q tmp-meow; then
/systemd-251/units/
Dsystemd-journald.socket16 # Mount and swap units need this. If this socket unit is removed by an
17 # isolate request the mount and swap units would be removed too,
Dsystemd-journald-dev-log.socket16 # Mount and swap units need this. If this socket unit is removed by an
17 # isolate request the mount and swap units would be removed too,

12345678