units: introduce new Documentation= field and make use of it everywhere
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them.
This commit is contained in:
parent
a223b325b4
commit
49dbfa7b2b
|
@ -49,7 +49,9 @@
|
||||||
|
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<para><filename>basic.target</filename>,
|
<para><filename>basic.target</filename>,
|
||||||
|
<filename>bluetooth.target</filename>,
|
||||||
<filename>ctrl-alt-del.target</filename>,
|
<filename>ctrl-alt-del.target</filename>,
|
||||||
|
<filename>cryptsetup.target</filename>,
|
||||||
<filename>dbus.service</filename>,
|
<filename>dbus.service</filename>,
|
||||||
<filename>dbus.socket</filename>,
|
<filename>dbus.socket</filename>,
|
||||||
<filename>default.target</filename>,
|
<filename>default.target</filename>,
|
||||||
|
@ -57,6 +59,7 @@
|
||||||
<filename>emergency.target</filename>,
|
<filename>emergency.target</filename>,
|
||||||
<filename>exit.service</filename>,
|
<filename>exit.service</filename>,
|
||||||
<filename>final.service</filename>,
|
<filename>final.service</filename>,
|
||||||
|
<filename>getty.target</filename>,
|
||||||
<filename>graphical.target</filename>,
|
<filename>graphical.target</filename>,
|
||||||
<filename>hibernate.target</filename>,
|
<filename>hibernate.target</filename>,
|
||||||
<filename>http-daemon.target</filename>,
|
<filename>http-daemon.target</filename>,
|
||||||
|
@ -69,7 +72,9 @@
|
||||||
<filename>multi-user.target</filename>,
|
<filename>multi-user.target</filename>,
|
||||||
<filename>network.target</filename>,
|
<filename>network.target</filename>,
|
||||||
<filename>nss-lookup.target</filename>,
|
<filename>nss-lookup.target</filename>,
|
||||||
|
<filename>nss-user-lookup.target</filename>,
|
||||||
<filename>poweroff.target</filename>,
|
<filename>poweroff.target</filename>,
|
||||||
|
<filename>printer.target</filename>,
|
||||||
<filename>reboot.target</filename>,
|
<filename>reboot.target</filename>,
|
||||||
<filename>remote-fs.target</filename>,
|
<filename>remote-fs.target</filename>,
|
||||||
<filename>remote-fs-pre.target</filename>,
|
<filename>remote-fs-pre.target</filename>,
|
||||||
|
@ -82,7 +87,9 @@
|
||||||
<filename>shutdown.target</filename>,
|
<filename>shutdown.target</filename>,
|
||||||
<filename>sigpwr.target</filename>,
|
<filename>sigpwr.target</filename>,
|
||||||
<filename>sleep.target</filename>,
|
<filename>sleep.target</filename>,
|
||||||
|
<filename>smartcard.target</filename>,
|
||||||
<filename>sockets.target</filename>,
|
<filename>sockets.target</filename>,
|
||||||
|
<filename>sound.target</filename>,
|
||||||
<filename>suspend.target</filename>,
|
<filename>suspend.target</filename>,
|
||||||
<filename>swap.target</filename>,
|
<filename>swap.target</filename>,
|
||||||
<filename>sysinit.target</filename>,
|
<filename>sysinit.target</filename>,
|
||||||
|
@ -127,6 +134,16 @@
|
||||||
this unit.</para>
|
this unit.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><filename>bluetooth.target</filename></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This target is started
|
||||||
|
automatically as soon as a
|
||||||
|
bluetooth controller is
|
||||||
|
plugged in or becomes
|
||||||
|
available at boot.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>ctrl-alt-del.target</filename></term>
|
<term><filename>ctrl-alt-del.target</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -139,6 +156,15 @@
|
||||||
<filename>reboot.target</filename>.</para>
|
<filename>reboot.target</filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><filename>cryptsetup.target</filename></term>
|
||||||
|
<listitem>
|
||||||
|
<para>A target that pulls in
|
||||||
|
setup services for all
|
||||||
|
encrypted block
|
||||||
|
devices.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>dbus.service</filename></term>
|
<term><filename>dbus.service</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -226,6 +252,15 @@
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><filename>getty.target</filename></term>
|
||||||
|
<listitem>
|
||||||
|
<para>A special target unit
|
||||||
|
that pulls in all local TTY
|
||||||
|
<filename>getty</filename> instances.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>graphical.target</filename></term>
|
<term><filename>graphical.target</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -442,6 +477,16 @@
|
||||||
unit, for compatibility with SysV.</para>
|
unit, for compatibility with SysV.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><filename>printer.target</filename></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This target is started
|
||||||
|
automatically as soon as a
|
||||||
|
printer is plugged in or
|
||||||
|
becomes available at
|
||||||
|
boot.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>reboot.target</filename></term>
|
<term><filename>reboot.target</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -615,6 +660,16 @@
|
||||||
logic.</para>
|
logic.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><filename>smartcard.target</filename></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This target is started
|
||||||
|
automatically as soon as a
|
||||||
|
smartcard controller is
|
||||||
|
plugged in or becomes
|
||||||
|
available at boot.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>sockets.target</filename></term>
|
<term><filename>sockets.target</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -629,6 +684,16 @@
|
||||||
during installation.</para>
|
during installation.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><filename>sound.target</filename></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This target is started
|
||||||
|
automatically as soon as a
|
||||||
|
sound card is plugged in or
|
||||||
|
becomes available at
|
||||||
|
boot.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>suspend.target</filename></term>
|
<term><filename>suspend.target</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
|
@ -294,6 +294,23 @@
|
||||||
name.</para></listitem>
|
name.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>Documentation=</varname></term>
|
||||||
|
<listitem><para>A space separated list
|
||||||
|
of URIs referencing documentation for
|
||||||
|
this unit or its
|
||||||
|
configuration. Accepted are only URIs
|
||||||
|
of the types
|
||||||
|
<literal>http://</literal>,
|
||||||
|
<literal>https://</literal>,
|
||||||
|
<literal>file:</literal>,
|
||||||
|
<literal>info:</literal>,
|
||||||
|
<literal>man:</literal>. For more
|
||||||
|
information about the syntax of these
|
||||||
|
URIs see
|
||||||
|
<citerefentry><refentrytitle>uri</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>Requires=</varname></term>
|
<term><varname>Requires=</varname></term>
|
||||||
|
|
||||||
|
|
|
@ -808,6 +808,7 @@ const BusProperty bus_unit_properties[] = {
|
||||||
{ "PropagateReloadTo", bus_unit_append_dependencies, "as", offsetof(Unit, dependencies[UNIT_PROPAGATE_RELOAD_TO]), true },
|
{ "PropagateReloadTo", bus_unit_append_dependencies, "as", offsetof(Unit, dependencies[UNIT_PROPAGATE_RELOAD_TO]), true },
|
||||||
{ "PropagateReloadFrom", bus_unit_append_dependencies, "as", offsetof(Unit, dependencies[UNIT_PROPAGATE_RELOAD_FROM]), true },
|
{ "PropagateReloadFrom", bus_unit_append_dependencies, "as", offsetof(Unit, dependencies[UNIT_PROPAGATE_RELOAD_FROM]), true },
|
||||||
{ "RequiresMountsFor", bus_property_append_strv, "as", offsetof(Unit, requires_mounts_for), true },
|
{ "RequiresMountsFor", bus_property_append_strv, "as", offsetof(Unit, requires_mounts_for), true },
|
||||||
|
{ "Documentation", bus_property_append_strv, "as", offsetof(Unit, documentation), true },
|
||||||
{ "Description", bus_unit_append_description, "s", 0 },
|
{ "Description", bus_unit_append_description, "s", 0 },
|
||||||
{ "LoadState", bus_unit_append_load_state, "s", offsetof(Unit, load_state) },
|
{ "LoadState", bus_unit_append_load_state, "s", offsetof(Unit, load_state) },
|
||||||
{ "ActiveState", bus_unit_append_active_state, "s", 0 },
|
{ "ActiveState", bus_unit_append_active_state, "s", 0 },
|
||||||
|
|
|
@ -87,6 +87,7 @@
|
||||||
" <property name=\"PropagateReloadFrom\" type=\"as\" access=\"read\"/>\n" \
|
" <property name=\"PropagateReloadFrom\" type=\"as\" access=\"read\"/>\n" \
|
||||||
" <property name=\"RequiresMountsFor\" type=\"as\" access=\"read\"/>\n" \
|
" <property name=\"RequiresMountsFor\" type=\"as\" access=\"read\"/>\n" \
|
||||||
" <property name=\"Description\" type=\"s\" access=\"read\"/>\n" \
|
" <property name=\"Description\" type=\"s\" access=\"read\"/>\n" \
|
||||||
|
" <property name=\"Documentation\" type=\"as\" access=\"read\"/>\n" \
|
||||||
" <property name=\"LoadState\" type=\"s\" access=\"read\"/>\n" \
|
" <property name=\"LoadState\" type=\"s\" access=\"read\"/>\n" \
|
||||||
" <property name=\"ActiveState\" type=\"s\" access=\"read\"/>\n" \
|
" <property name=\"ActiveState\" type=\"s\" access=\"read\"/>\n" \
|
||||||
" <property name=\"SubState\" type=\"s\" access=\"read\"/>\n" \
|
" <property name=\"SubState\" type=\"s\" access=\"read\"/>\n" \
|
||||||
|
|
|
@ -92,6 +92,7 @@ $1.ControlGroupPersistent, config_parse_tristate, 0,
|
||||||
)m4_dnl
|
)m4_dnl
|
||||||
Unit.Names, config_parse_unit_names, 0, 0
|
Unit.Names, config_parse_unit_names, 0, 0
|
||||||
Unit.Description, config_parse_unit_string_printf, 0, offsetof(Unit, description)
|
Unit.Description, config_parse_unit_string_printf, 0, offsetof(Unit, description)
|
||||||
|
Unit.Documentation, config_parse_documentation, 0, offsetof(Unit, documentation)
|
||||||
Unit.Requires, config_parse_unit_deps, UNIT_REQUIRES, 0
|
Unit.Requires, config_parse_unit_deps, UNIT_REQUIRES, 0
|
||||||
Unit.RequiresOverridable, config_parse_unit_deps, UNIT_REQUIRES_OVERRIDABLE, 0
|
Unit.RequiresOverridable, config_parse_unit_deps, UNIT_REQUIRES_OVERRIDABLE, 0
|
||||||
Unit.Requisite, config_parse_unit_deps, UNIT_REQUISITE, 0
|
Unit.Requisite, config_parse_unit_deps, UNIT_REQUISITE, 0
|
||||||
|
|
|
@ -2063,6 +2063,43 @@ int config_parse_unit_requires_mounts_for(
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int config_parse_documentation(
|
||||||
|
const char *filename,
|
||||||
|
unsigned line,
|
||||||
|
const char *section,
|
||||||
|
const char *lvalue,
|
||||||
|
int ltype,
|
||||||
|
const char *rvalue,
|
||||||
|
void *data,
|
||||||
|
void *userdata) {
|
||||||
|
|
||||||
|
Unit *u = userdata;
|
||||||
|
int r;
|
||||||
|
char **a, **b;
|
||||||
|
|
||||||
|
assert(filename);
|
||||||
|
assert(lvalue);
|
||||||
|
assert(rvalue);
|
||||||
|
assert(u);
|
||||||
|
|
||||||
|
r = config_parse_unit_strv_printf(filename, line, section, lvalue, ltype, rvalue, data, userdata);
|
||||||
|
if (r < 0)
|
||||||
|
return r;
|
||||||
|
|
||||||
|
for (a = b = u->documentation; a && *a; a++) {
|
||||||
|
|
||||||
|
if (is_valid_documentation_url(*a))
|
||||||
|
*(b++) = *a;
|
||||||
|
else {
|
||||||
|
log_error("[%s:%u] Invalid URL, ignoring: %s", filename, line, *a);
|
||||||
|
free(*a);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*b = NULL;
|
||||||
|
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
#define FOLLOW_MAX 8
|
#define FOLLOW_MAX 8
|
||||||
|
|
||||||
static int open_follow(char **filename, FILE **_f, Set *names, char **_final) {
|
static int open_follow(char **filename, FILE **_f, Set *names, char **_final) {
|
||||||
|
|
|
@ -36,6 +36,7 @@ int config_parse_unit_names(const char *filename, unsigned line, const char *sec
|
||||||
int config_parse_unit_string_printf(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
int config_parse_unit_string_printf(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
||||||
int config_parse_unit_strv_printf(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
int config_parse_unit_strv_printf(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
||||||
int config_parse_unit_path_printf(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
int config_parse_unit_path_printf(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
||||||
|
int config_parse_documentation(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
||||||
int config_parse_socket_listen(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
int config_parse_socket_listen(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
||||||
int config_parse_socket_bind(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
int config_parse_socket_bind(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
||||||
int config_parse_exec_nice(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
int config_parse_exec_nice(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
|
||||||
|
|
|
@ -397,6 +397,7 @@ void unit_free(Unit *u) {
|
||||||
cgroup_attribute_free_list(u->cgroup_attributes);
|
cgroup_attribute_free_list(u->cgroup_attributes);
|
||||||
|
|
||||||
free(u->description);
|
free(u->description);
|
||||||
|
strv_free(u->documentation);
|
||||||
free(u->fragment_path);
|
free(u->fragment_path);
|
||||||
free(u->instance);
|
free(u->instance);
|
||||||
|
|
||||||
|
@ -624,7 +625,7 @@ const char *unit_description(Unit *u) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void unit_dump(Unit *u, FILE *f, const char *prefix) {
|
void unit_dump(Unit *u, FILE *f, const char *prefix) {
|
||||||
char *t;
|
char *t, **j;
|
||||||
UnitDependency d;
|
UnitDependency d;
|
||||||
Iterator i;
|
Iterator i;
|
||||||
char *p2;
|
char *p2;
|
||||||
|
@ -672,6 +673,9 @@ void unit_dump(Unit *u, FILE *f, const char *prefix) {
|
||||||
SET_FOREACH(t, u->names, i)
|
SET_FOREACH(t, u->names, i)
|
||||||
fprintf(f, "%s\tName: %s\n", prefix, t);
|
fprintf(f, "%s\tName: %s\n", prefix, t);
|
||||||
|
|
||||||
|
STRV_FOREACH(j, u->documentation)
|
||||||
|
fprintf(f, "%s\tDocumentation: %s\n", prefix, *j);
|
||||||
|
|
||||||
if ((following = unit_following(u)))
|
if ((following = unit_following(u)))
|
||||||
fprintf(f, "%s\tFollowing: %s\n", prefix, following->id);
|
fprintf(f, "%s\tFollowing: %s\n", prefix, following->id);
|
||||||
|
|
||||||
|
@ -698,8 +702,6 @@ void unit_dump(Unit *u, FILE *f, const char *prefix) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strv_isempty(u->requires_mounts_for)) {
|
if (!strv_isempty(u->requires_mounts_for)) {
|
||||||
char **j;
|
|
||||||
|
|
||||||
fprintf(f,
|
fprintf(f,
|
||||||
"%s\tRequiresMountsFor:", prefix);
|
"%s\tRequiresMountsFor:", prefix);
|
||||||
|
|
||||||
|
|
|
@ -157,6 +157,7 @@ struct Unit {
|
||||||
char **requires_mounts_for;
|
char **requires_mounts_for;
|
||||||
|
|
||||||
char *description;
|
char *description;
|
||||||
|
char **documentation;
|
||||||
|
|
||||||
char *fragment_path; /* if loaded from a config file this is the primary path to it */
|
char *fragment_path; /* if loaded from a config file this is the primary path to it */
|
||||||
usec_t fragment_mtime;
|
usec_t fragment_mtime;
|
||||||
|
|
|
@ -5610,3 +5610,24 @@ int can_sleep(const char *type) {
|
||||||
free(p);
|
free(p);
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool is_valid_documentation_url(const char *url) {
|
||||||
|
assert(url);
|
||||||
|
|
||||||
|
if (startswith(url, "http://") && url[7])
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (startswith(url, "https://") && url[8])
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (startswith(url, "file:") && url[5])
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (startswith(url, "info:") && url[5])
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (startswith(url, "man:") && url[4])
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
|
@ -508,4 +508,6 @@ int getenv_for_pid(pid_t pid, const char *field, char **_value);
|
||||||
|
|
||||||
int can_sleep(const char *type);
|
int can_sleep(const char *type);
|
||||||
|
|
||||||
|
bool is_valid_documentation_url(const char *url);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2158,6 +2158,8 @@ typedef struct UnitStatusInfo {
|
||||||
const char *description;
|
const char *description;
|
||||||
const char *following;
|
const char *following;
|
||||||
|
|
||||||
|
char **documentation;
|
||||||
|
|
||||||
const char *path;
|
const char *path;
|
||||||
const char *default_control_group;
|
const char *default_control_group;
|
||||||
|
|
||||||
|
@ -2303,6 +2305,19 @@ static void print_status_info(UnitStatusInfo *i) {
|
||||||
if (i->what)
|
if (i->what)
|
||||||
printf("\t What: %s\n", i->what);
|
printf("\t What: %s\n", i->what);
|
||||||
|
|
||||||
|
if (!strv_isempty(i->documentation)) {
|
||||||
|
char **t;
|
||||||
|
bool first = true;
|
||||||
|
|
||||||
|
STRV_FOREACH(t, i->documentation) {
|
||||||
|
if (first) {
|
||||||
|
printf("\t Docs: %s\n", *t);
|
||||||
|
first = false;
|
||||||
|
} else
|
||||||
|
printf("\t %s\n", *t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (i->accept)
|
if (i->accept)
|
||||||
printf("\tAccepted: %u; Connected: %u\n", i->n_accepted, i->n_connections);
|
printf("\tAccepted: %u; Connected: %u\n", i->n_accepted, i->n_connections);
|
||||||
|
|
||||||
|
@ -2607,6 +2622,27 @@ static int status_property(const char *name, DBusMessageIter *iter, UnitStatusIn
|
||||||
|
|
||||||
LIST_PREPEND(ExecStatusInfo, exec, i->exec, info);
|
LIST_PREPEND(ExecStatusInfo, exec, i->exec, info);
|
||||||
|
|
||||||
|
dbus_message_iter_next(&sub);
|
||||||
|
}
|
||||||
|
} else if (dbus_message_iter_get_element_type(iter) == DBUS_TYPE_STRING &&
|
||||||
|
streq(name, "Documentation")) {
|
||||||
|
|
||||||
|
DBusMessageIter sub;
|
||||||
|
|
||||||
|
dbus_message_iter_recurse(iter, &sub);
|
||||||
|
while (dbus_message_iter_get_arg_type(&sub) == DBUS_TYPE_STRING) {
|
||||||
|
const char *s;
|
||||||
|
char **l;
|
||||||
|
|
||||||
|
dbus_message_iter_get_basic(&sub, &s);
|
||||||
|
|
||||||
|
l = strv_append(i->documentation, s);
|
||||||
|
if (!l)
|
||||||
|
return -ENOMEM;
|
||||||
|
|
||||||
|
strv_free(i->documentation);
|
||||||
|
i->documentation = l;
|
||||||
|
|
||||||
dbus_message_iter_next(&sub);
|
dbus_message_iter_next(&sub);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2932,6 +2968,8 @@ static int show_one(const char *verb, DBusConnection *bus, const char *path, boo
|
||||||
if (!show_properties)
|
if (!show_properties)
|
||||||
print_status_info(&info);
|
print_status_info(&info);
|
||||||
|
|
||||||
|
strv_free(info.documentation);
|
||||||
|
|
||||||
if (!streq_ptr(info.active_state, "active") &&
|
if (!streq_ptr(info.active_state, "active") &&
|
||||||
!streq_ptr(info.active_state, "reloading") &&
|
!streq_ptr(info.active_state, "reloading") &&
|
||||||
streq(verb, "status"))
|
streq(verb, "status"))
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Basic System
|
Description=Basic System
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
Requires=sysinit.target sockets.target
|
Requires=sysinit.target sockets.target
|
||||||
After=sysinit.target sockets.target
|
After=sysinit.target sockets.target
|
||||||
RefuseManualStart=yes
|
RefuseManualStart=yes
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Bluetooth
|
Description=Bluetooth
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
StopWhenUnneeded=yes
|
StopWhenUnneeded=yes
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Encrypted Volumes
|
Description=Encrypted Volumes
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Huge Pages File System
|
Description=Huge Pages File System
|
||||||
|
Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
ConditionPathExists=/sys/kernel/mm/hugepages
|
ConditionPathExists=/sys/kernel/mm/hugepages
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=POSIX Message Queue File System
|
Description=POSIX Message Queue File System
|
||||||
|
Documentation=man:mq_overview(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
ConditionPathExists=/proc/sys/fs/mqueue
|
ConditionPathExists=/proc/sys/fs/mqueue
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Emergency Shell
|
Description=Emergency Shell
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Emergency Mode
|
Description=Emergency Mode
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
Requires=emergency.service
|
Requires=emergency.service
|
||||||
After=emergency.service
|
After=emergency.service
|
||||||
AllowIsolate=yes
|
AllowIsolate=yes
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Final Step
|
Description=Final Step
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
RefuseManualStart=yes
|
RefuseManualStart=yes
|
||||||
After=shutdown.target umount.target
|
After=shutdown.target umount.target
|
||||||
|
|
|
@ -7,3 +7,4 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Login Prompts
|
Description=Login Prompts
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Getty on %I
|
Description=Getty on %I
|
||||||
|
Documentation=man:agetty(8)
|
||||||
After=systemd-user-sessions.service plymouth-quit-wait.service
|
After=systemd-user-sessions.service plymouth-quit-wait.service
|
||||||
m4_ifdef(`TARGET_FEDORA',
|
m4_ifdef(`TARGET_FEDORA',
|
||||||
After=rc-local.service
|
After=rc-local.service
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Graphical Interface
|
Description=Graphical Interface
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
Requires=multi-user.target
|
Requires=multi-user.target
|
||||||
After=multi-user.target
|
After=multi-user.target
|
||||||
Conflicts=rescue.target
|
Conflicts=rescue.target
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Halt
|
Description=Halt
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=halt.service
|
Requires=halt.service
|
||||||
After=halt.service
|
After=halt.service
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Hibernate
|
Description=Hibernate
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
BindTo=hibernate.service
|
BindTo=hibernate.service
|
||||||
After=hibernate.service
|
After=hibernate.service
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
# This exists mostly for compatibility with SysV/LSB units, and
|
# This exists mostly for compatibility with SysV/LSB units, and
|
||||||
# implementations lacking socket/bus activation.
|
# implementations lacking socket/bus activation.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Web Server
|
Description=Web Server
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Reboot via kexec
|
Description=Reboot via kexec
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=kexec.service
|
Requires=kexec.service
|
||||||
After=kexec.service
|
After=kexec.service
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Local File Systems (Pre)
|
Description=Local File Systems (Pre)
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Local File Systems
|
Description=Local File Systems
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
OnFailure=emergency.target
|
OnFailure=emergency.target
|
||||||
OnFailureIsolate=yes
|
OnFailureIsolate=yes
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
# This exists mostly for compatibility with SysV/LSB units, and
|
# This exists mostly for compatibility with SysV/LSB units, and
|
||||||
# implementations lacking socket/bus activation.
|
# implementations lacking socket/bus activation.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Mail Transfer Agent
|
Description=Mail Transfer Agent
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Multi-User
|
Description=Multi-User
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
Requires=basic.target
|
Requires=basic.target
|
||||||
Conflicts=rescue.service rescue.target
|
Conflicts=rescue.service rescue.target
|
||||||
After=basic.target rescue.service rescue.target
|
After=basic.target rescue.service rescue.target
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Network
|
Description=Network
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,11 +5,10 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
# This exists mostly for compatibility with SysV/LSB units, and
|
# This exists mostly for compatibility with SysV/LSB units, and
|
||||||
# implementations lacking socket/bus activation.
|
# implementations lacking socket/bus activation.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Host and Network Name Lookups
|
Description=Host and Network Name Lookups
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
|
@ -5,11 +5,10 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
# This exists mostly for implementations lacking socket/bus
|
# This exists mostly for implementations lacking socket/bus
|
||||||
# activation.
|
# activation.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=User and Group Name Lookups
|
Description=User and Group Name Lookups
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Power-Off
|
Description=Power-Off
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=poweroff.service
|
Requires=poweroff.service
|
||||||
After=poweroff.service
|
After=poweroff.service
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Printer
|
Description=Printer
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
StopWhenUnneeded=yes
|
StopWhenUnneeded=yes
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Arbitrary Executable File Formats File System
|
Description=Arbitrary Executable File Formats File System
|
||||||
|
Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
||||||
[Mount]
|
[Mount]
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Reboot
|
Description=Reboot
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=reboot.service
|
Requires=reboot.service
|
||||||
After=reboot.service
|
After=reboot.service
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Remote File Systems (Pre)
|
Description=Remote File Systems (Pre)
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
After=network.target nss-lookup.target
|
After=network.target nss-lookup.target
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Remote File Systems
|
Description=Remote File Systems
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Rescue Shell
|
Description=Rescue Shell
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Rescue Mode
|
Description=Rescue Mode
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
Requires=basic.target rescue.service
|
Requires=basic.target rescue.service
|
||||||
After=basic.target rescue.service
|
After=basic.target rescue.service
|
||||||
AllowIsolate=yes
|
AllowIsolate=yes
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
# This exists mostly for compatibility with SysV/LSB units, and
|
# This exists mostly for compatibility with SysV/LSB units, and
|
||||||
# implementations lacking socket/bus activation.
|
# implementations lacking socket/bus activation.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=RPC Port Mapper
|
Description=RPC Port Mapper
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Serial Getty on %I
|
Description=Serial Getty on %I
|
||||||
|
Documentation=man:agetty(8)
|
||||||
BindTo=dev-%i.device
|
BindTo=dev-%i.device
|
||||||
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
|
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
|
||||||
m4_ifdef(`TARGET_FEDORA',
|
m4_ifdef(`TARGET_FEDORA',
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Shutdown
|
Description=Shutdown
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
RefuseManualStart=yes
|
RefuseManualStart=yes
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Power Failure
|
Description=Power Failure
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Sleep
|
Description=Sleep
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
RefuseManualStart=yes
|
RefuseManualStart=yes
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Smart Card
|
Description=Smart Card
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
StopWhenUnneeded=yes
|
StopWhenUnneeded=yes
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Sockets
|
Description=Sockets
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Sound Card
|
Description=Sound Card
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
StopWhenUnneeded=yes
|
StopWhenUnneeded=yes
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Suspend
|
Description=Suspend
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
BindTo=suspend.service
|
BindTo=suspend.service
|
||||||
After=suspend.service
|
After=suspend.service
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Swap
|
Description=Swap
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=System Initialization
|
Description=System Initialization
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
Conflicts=emergency.service emergency.target
|
Conflicts=emergency.service emergency.target
|
||||||
Wants=local-fs.target swap.target
|
Wants=local-fs.target swap.target
|
||||||
After=local-fs.target swap.target emergency.service emergency.target
|
After=local-fs.target swap.target emergency.service emergency.target
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Syslog Socket
|
Description=Syslog Socket
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/syslog
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=sockets.target syslog.target
|
Before=sockets.target syslog.target
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
# This exists mostly for compatibility with SysV/LSB units, and
|
# This exists mostly for compatibility with SysV/LSB units, and
|
||||||
# implementations lacking socket/bus activation.
|
# implementations lacking socket/bus activation.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Syslog
|
Description=Syslog
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/syslog
|
||||||
|
|
||||||
# Avoid that we conflict with shutdown.target, so that we can stay
|
# Avoid that we conflict with shutdown.target, so that we can stay
|
||||||
# until the very end and do not cancel shutdown.target if we should
|
# until the very end and do not cancel shutdown.target if we should
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Dispatch Password Requests to Console Directory Watch
|
Description=Dispatch Password Requests to Console Directory Watch
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=plymouth-start.service
|
After=plymouth-start.service
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Dispatch Password Requests to Console
|
Description=Dispatch Password Requests to Console
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=plymouth-start.service
|
After=plymouth-start.service
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Forward Password Requests to Plymouth Directory Watch
|
Description=Forward Password Requests to Plymouth Directory Watch
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=plymouth-start.service
|
After=plymouth-start.service
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Forward Password Requests to Plymouth
|
Description=Forward Password Requests to Plymouth
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=plymouth-start.service
|
After=plymouth-start.service
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Forward Password Requests to Wall Directory Watch
|
Description=Forward Password Requests to Wall Directory Watch
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
Before=basic.target shutdown.target
|
Before=basic.target shutdown.target
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Forward Password Requests to Wall
|
Description=Forward Password Requests to Wall
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||||
After=systemd-user-sessions.service
|
After=systemd-user-sessions.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Set Up Additional Binary Formats
|
Description=Set Up Additional Binary Formats
|
||||||
|
Documentation=man:binfmt.d(5)
|
||||||
|
Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service proc-sys-fs-binfmt_misc.automount
|
After=systemd-readahead-collect.service systemd-readahead-replay.service proc-sys-fs-binfmt_misc.automount
|
||||||
|
|
|
@ -5,10 +5,11 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Hostname Service
|
Description=Hostname Service
|
||||||
|
Documentation=man:hostname(5)
|
||||||
|
Documentation=man:machine-info(5)
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@rootlibexecdir@/systemd-hostnamed
|
ExecStart=@rootlibexecdir@/systemd-hostnamed
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=/dev/initctl Compatibility Daemon
|
Description=/dev/initctl Compatibility Daemon
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=/dev/initctl Compatibility Named Pipe
|
Description=/dev/initctl Compatibility Named Pipe
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Journal Service
|
Description=Journal Service
|
||||||
|
Documentation=man:journald.conf(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=systemd-journald.socket
|
Requires=systemd-journald.socket
|
||||||
After=systemd-journald.socket
|
After=systemd-journald.socket
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Journal Socket
|
Description=Journal Socket
|
||||||
|
Documentation=man:journald.conf(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=sockets.target syslog.target
|
Before=sockets.target syslog.target
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,11 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Locale Service
|
Description=Locale Service
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/localed
|
||||||
|
Documentation=man:locale.conf(5)
|
||||||
|
Documentation=man:vconsole.conf(5)
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@rootlibexecdir@/systemd-localed
|
ExecStart=@rootlibexecdir@/systemd-localed
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Login Service
|
Description=Login Service
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
|
||||||
|
Documentation=man:logind.conf(5)
|
||||||
After=nss-user-lookup.target
|
After=nss-user-lookup.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Load Kernel Modules
|
Description=Load Kernel Modules
|
||||||
|
Documentation=man:modules-load.d(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Delayed Shutdown Service
|
Description=Delayed Shutdown Service
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Delayed Shutdown Socket
|
Description=Delayed Shutdown Socket
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Apply Kernel Variables
|
Description=Apply Kernel Variables
|
||||||
|
Documentation=man:sysctl.d(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Network Time Protocol
|
Description=Network Time Protocol
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Time & Date Service
|
Description=Time & Date Service
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
|
||||||
|
Documentation=man:timezone(5)
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@rootlibexecdir@/systemd-timedated
|
ExecStart=@rootlibexecdir@/systemd-timedated
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Cleanup of Temporary Directories
|
Description=Cleanup of Temporary Directories
|
||||||
|
Documentation=man:tmpfiles.d(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Wants=local-fs.target
|
Wants=local-fs.target
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Daily Cleanup of Temporary Directories
|
Description=Daily Cleanup of Temporary Directories
|
||||||
|
Documentation=man:tmpfiles.d(5)
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnBootSec=15min
|
OnBootSec=15min
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Recreate Volatile Files and Directories
|
Description=Recreate Volatile Files and Directories
|
||||||
|
Documentation=man:tmpfiles.d(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Wants=local-fs.target
|
Wants=local-fs.target
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=udev Control Socket
|
Description=udev Control Socket
|
||||||
|
Documentation=man:udev(7)
|
||||||
|
Documentation=man:udevd(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
ConditionCapability=CAP_MKNOD
|
ConditionCapability=CAP_MKNOD
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=udev Kernel Socket
|
Description=udev Kernel Socket
|
||||||
|
Documentation=man:udev(7)
|
||||||
|
Documentation=man:udevd(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
ConditionCapability=CAP_MKNOD
|
ConditionCapability=CAP_MKNOD
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
# This service is usually not enabled by default. If enabled, it
|
# This service is usually not enabled by default. If enabled, it
|
||||||
# acts as a barrier for basic.target -- so all later services will
|
# acts as a barrier for basic.target -- so all later services will
|
||||||
# wait for udev completely finishing its coldplug run.
|
# wait for udev completely finishing its coldplug run.
|
||||||
|
@ -10,6 +17,8 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=udev Wait for Complete Device Initialization
|
Description=udev Wait for Complete Device Initialization
|
||||||
|
Documentation=man:udev(7)
|
||||||
|
Documentation=man:udevd(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Wants=systemd-udev.service
|
Wants=systemd-udev.service
|
||||||
After=udev-trigger.service
|
After=udev-trigger.service
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=udev Coldplug all Devices
|
Description=udev Coldplug all Devices
|
||||||
|
Documentation=man:udev(7)
|
||||||
|
Documentation=man:udevd(8)
|
||||||
Wants=systemd-udev.service
|
Wants=systemd-udev.service
|
||||||
After=systemd-udev-kernel.socket systemd-udev-control.socket
|
After=systemd-udev-kernel.socket systemd-udev-control.socket
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=udev Kernel Device Manager
|
Description=udev Kernel Device Manager
|
||||||
|
Documentation=man:udev(7)
|
||||||
|
Documentation=man:udevd(8)
|
||||||
Wants=systemd-udev-control.socket systemd-udev-kernel.socket
|
Wants=systemd-udev-control.socket systemd-udev-kernel.socket
|
||||||
After=systemd-udev-control.socket systemd-udev-kernel.socket
|
After=systemd-udev-control.socket systemd-udev-kernel.socket
|
||||||
Before=basic.target
|
Before=basic.target
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Update UTMP about System Runlevel Changes
|
Description=Update UTMP about System Runlevel Changes
|
||||||
|
Documentation=man:utmp(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target systemd-tmpfiles-setup.service
|
After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target systemd-tmpfiles-setup.service
|
||||||
Before=poweroff.service reboot.service halt.service
|
Before=poweroff.service reboot.service halt.service
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Update UTMP about System Shutdown
|
Description=Update UTMP about System Shutdown
|
||||||
|
Documentation=man:utmp(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
|
After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
|
||||||
Before=poweroff.service reboot.service halt.service
|
Before=poweroff.service reboot.service halt.service
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Setup Virtual Console
|
Description=Setup Virtual Console
|
||||||
|
Documentation=man:vconsole.conf(5)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
# This exists mostly for compatibility with SysV/LSB units, and
|
# This exists mostly for compatibility with SysV/LSB units, and
|
||||||
# implementations lacking socket/bus activation.
|
# implementations lacking socket/bus activation.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=System Time Synchronized
|
Description=System Time Synchronized
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Unmount All Filesystems
|
Description=Unmount All Filesystems
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
RefuseManualStart=yes
|
RefuseManualStart=yes
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Default
|
Description=Default
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Exit the Session
|
Description=Exit the Session
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=shutdown.target
|
Requires=shutdown.target
|
||||||
After=shutdown.target
|
After=shutdown.target
|
||||||
|
|
|
@ -5,10 +5,9 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
# See systemd.special(7) for details
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Exit the Session
|
Description=Exit the Session
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=exit.service
|
Requires=exit.service
|
||||||
After=exit.service
|
After=exit.service
|
||||||
|
|
Loading…
Reference in a new issue