Lines Matching defs:on

495                 const char *on, *off;
501 "SUB = The low-level unit activation state, values depend on unit type.");
503 on = ansi_highlight();
506 on = ansi_highlight_red();
513 on, n_shown, off);
517 on, n_shown, off);
814 const char *on, *off;
863 on = ansi_highlight();
868 on = ansi_highlight_red();
873 printf("%s%u sockets listed.%s\n", on, cs, off);
935 /* from this point on we will cleanup those socket_infos */
1068 const char *on, *off;
1144 on = ansi_highlight();
1149 on = ansi_highlight_red();
1154 printf("%s%u timers listed.%s\n", on, n, off);
1329 const char *on, *off;
1337 on = ansi_highlight_red();
1340 on = ansi_highlight_green();
1343 on = off = "";
1351 on, state_cols, unit_file_state_to_string(u->state), off);
1642 const char *on;
1645 on = state > 0 ? ansi_highlight_green() : ansi_highlight_red();
1646 printf("%s%s%s ", on, draw_special_char(DRAW_BLACK_CIRCLE), ansi_normal());
2055 const char *on, *off;
2062 on = ansi_highlight_green();
2065 printf("%sNo jobs %s.%s\n", on, skipped ? "listed" : "running", off);
2103 on = ansi_highlight();
2106 on = off = "";
2111 on, unit_len, e ? e : j->name, off,
2113 on, state_len, j->state, off);
2117 on = ansi_highlight();
2120 printf("\n%s%u jobs listed%s.\n", on, n, off);
2270 log_warning("%sWarning:%s %s changed on disk. Run 'systemctl%s daemon-reload' to reload units.",
2313 * Finds where the unit is defined on disk. Returns 0 if the unit
2315 * - the path to the unit in *path, if it exists on disk,
2582 log_debug("Calling manager for %s on %s, %s", method, name, mode);
2996 log_warning("User %s is logged in on %s.", strna(user), isempty(tty) ? (isempty(seat) ? strna(service) : seat) : tty);
3112 /* If the exit code is not given on the command line,
3413 const char *active_on, *active_off, *on, *off, *ss;
3445 on = ansi_highlight_red();
3448 on = off = "";
3454 on, strna(i->load_state), off, i->load_error);
3457 on, strna(i->load_state), off, path, i->unit_file_state, i->unit_file_preset);
3460 on, strna(i->load_state), off, path, i->unit_file_state);
3463 on, strna(i->load_state), off, path);
3466 on, strna(i->load_state), off);
3587 on = ansi_highlight_red();
3590 on = off = "";
3592 printf("%s(code=%s, ", on, sigchld_code_to_string(p->code));
4576 const char *on, *off;
4588 on = ansi_highlight_red();
4591 on = ansi_highlight_yellow();
4594 on = off = "";
4596 printf("%s%s%s %s\n", on, draw_special_char(DRAW_BLACK_CIRCLE), off, arg_host ? arg_host : hn);
4599 on, strna(mi.state), off);
4885 return log_error_errno(r, "Failed to set unit properties on %s: %s", n, bus_error_message(&error, r));
5531 " a requirement dependency on it.\n"
6110 log_error("Cannot edit units if not on a tty.");
6177 " Operate on remote host\n"
6179 " Operate on local container\n"
6184 " ones. To list all units installed on the system, use\n"
6186 " -l --full Don't ellipsize unit names on output\n"
6215 " --firmware-setup Tell the firmware to show the setup menu on next boot\n"
6251 " based on preset configuration\n"
6252 " preset-all Enable/disable all unit files based on\n"
6260 " on specified one or more units\n"
6262 " on specified one or more units\n"
7422 * on reboot(), but the file systems need to be synce'd
7427 * on... */
7545 * supported on the local system or
7548 /* on all other errors, try low-level operation */