* EnqueueMarkedJobs() D-Bus method now has a Varlink counterpart.
- * systemctl gained a new 'enqueue-marked-jobs' verb, which calls the
+ * systemctl gained a new 'enqueue-marked' verb, which calls the
EnqueueMarkedJobs() D-Bus method. The '--marked' parameter, which was
previously used for the same purpose, is now deprecated.
</varlistentry>
<varlistentry>
- <term><command>enqueue-marked-jobs</command></term>
+ <term><command>enqueue-marked</command></term>
<listitem><para>Enqueue start/stop/restart/reload jobs for all units that have the respective
<literal>needs-*</literal> markers set. When a unit marked for reload does not support reload,
are not running yet, they will be started.</para>
<para>When used in combination with <option>--marked</option>, it is a deprecated alias of
- <command>enqueue-marked-jobs</command>.</para>
+ <command>enqueue-marked</command>.</para>
</listitem>
</varlistentry>
<varlistentry>
list-timers list-units list-unit-files poweroff
reboot rescue show-environment suspend get-default
is-system-running preset-all list-automounts list-paths
- enqueue-marked-jobs'
+ enqueue-marked'
[FILE]='link switch-root'
[TARGETS]='set-default'
[MACHINES]='list-machines'
fi
if [[ "$command" =~ restart ]]; then
- systemctl enqueue-marked-jobs
+ systemctl enqueue-marked
fi
;;
for user in $users; do
SYSTEMD_BUS_TIMEOUT={{UPDATE_HELPER_USER_TIMEOUT_SEC}}s \
- systemctl --user -M "$user@" enqueue-marked-jobs &
+ systemctl --user -M "$user@" enqueue-marked &
done
wait
fi
{ "reload", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start },
{ "restart", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start },
{ "try-restart", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start },
- { "enqueue-marked-jobs", 1, 1, VERB_ONLINE_ONLY, verb_start },
+ { "enqueue-marked", 1, 1, VERB_ONLINE_ONLY, verb_start },
{ "reload-or-restart", VERB_ANY, VERB_ANY, VERB_ONLINE_ONLY, verb_start },
- { "reload-or-try-restart", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start }, /* For compatibility with old systemctl <= 228 */
+ { "reload-or-try-restart", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start }, /* For compatibility with systemctl <= 228 */
{ "try-reload-or-restart", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start },
{ "force-reload", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start }, /* For compatibility with SysV */
{ "condreload", 2, VERB_ANY, VERB_ONLINE_ONLY, verb_start }, /* For compatibility with ALTLinux */
job_type = "start";
mode = "isolate";
suffix = ".target";
- } else if (streq(argv[0], "enqueue-marked-jobs") || arg_marked) {
+ } else if (streq(argv[0], "enqueue-marked") || arg_marked) {
is_enqueue_marked_jobs = true;
method = job_type = mode = NULL;
if (arg_show_transaction)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "--show-transaction is not supported for enqueue-marked-jobs.");
+ "--show-transaction is not supported for enqueue-marked.");
if (arg_marked)
- log_warning("--marked is deprecated. Please use systemctl enqueue-marked-jobs instead.");
+ log_warning("--marked is deprecated. Please use systemctl enqueue-marked instead.");
} else {
/* A command in style of "systemctl start <unit1> <unit2> …", "systemctl stop <unit1> <unit2> …" and so on */
" reload UNIT... Reload one or more units\n"
" restart UNIT... Start or restart one or more units\n"
" try-restart UNIT... Restart one or more units if active\n"
- " enqueue-marked-jobs Enqueue all marked unit jobs\n"
+ " enqueue-marked Enqueue jobs for all marked units\n"
" reload-or-restart UNIT... Reload one or more units if possible,\n"
" otherwise start or restart\n"
" try-reload-or-restart UNIT... If active, reload one or more units,\n"