mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
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>
|
||||
<para><filename>basic.target</filename>,
|
||||
<filename>bluetooth.target</filename>,
|
||||
<filename>ctrl-alt-del.target</filename>,
|
||||
<filename>cryptsetup.target</filename>,
|
||||
<filename>dbus.service</filename>,
|
||||
<filename>dbus.socket</filename>,
|
||||
<filename>default.target</filename>,
|
||||
@ -57,6 +59,7 @@
|
||||
<filename>emergency.target</filename>,
|
||||
<filename>exit.service</filename>,
|
||||
<filename>final.service</filename>,
|
||||
<filename>getty.target</filename>,
|
||||
<filename>graphical.target</filename>,
|
||||
<filename>hibernate.target</filename>,
|
||||
<filename>http-daemon.target</filename>,
|
||||
@ -69,7 +72,9 @@
|
||||
<filename>multi-user.target</filename>,
|
||||
<filename>network.target</filename>,
|
||||
<filename>nss-lookup.target</filename>,
|
||||
<filename>nss-user-lookup.target</filename>,
|
||||
<filename>poweroff.target</filename>,
|
||||
<filename>printer.target</filename>,
|
||||
<filename>reboot.target</filename>,
|
||||
<filename>remote-fs.target</filename>,
|
||||
<filename>remote-fs-pre.target</filename>,
|
||||
@ -82,7 +87,9 @@
|
||||
<filename>shutdown.target</filename>,
|
||||
<filename>sigpwr.target</filename>,
|
||||
<filename>sleep.target</filename>,
|
||||
<filename>smartcard.target</filename>,
|
||||
<filename>sockets.target</filename>,
|
||||
<filename>sound.target</filename>,
|
||||
<filename>suspend.target</filename>,
|
||||
<filename>swap.target</filename>,
|
||||
<filename>sysinit.target</filename>,
|
||||
@ -127,6 +134,16 @@
|
||||
this unit.</para>
|
||||
</listitem>
|
||||
</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>
|
||||
<term><filename>ctrl-alt-del.target</filename></term>
|
||||
<listitem>
|
||||
@ -139,6 +156,15 @@
|
||||
<filename>reboot.target</filename>.</para>
|
||||
</listitem>
|
||||
</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>
|
||||
<term><filename>dbus.service</filename></term>
|
||||
<listitem>
|
||||
@ -226,6 +252,15 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</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>
|
||||
<term><filename>graphical.target</filename></term>
|
||||
<listitem>
|
||||
@ -442,6 +477,16 @@
|
||||
unit, for compatibility with SysV.</para>
|
||||
</listitem>
|
||||
</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>
|
||||
<term><filename>reboot.target</filename></term>
|
||||
<listitem>
|
||||
@ -615,6 +660,16 @@
|
||||
logic.</para>
|
||||
</listitem>
|
||||
</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>
|
||||
<term><filename>sockets.target</filename></term>
|
||||
<listitem>
|
||||
@ -629,6 +684,16 @@
|
||||
during installation.</para>
|
||||
</listitem>
|
||||
</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>
|
||||
<term><filename>suspend.target</filename></term>
|
||||
<listitem>
|
||||
|
@ -294,6 +294,23 @@
|
||||
name.</para></listitem>
|
||||
</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>
|
||||
<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 },
|
||||
{ "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 },
|
||||
{ "Documentation", bus_property_append_strv, "as", offsetof(Unit, documentation), true },
|
||||
{ "Description", bus_unit_append_description, "s", 0 },
|
||||
{ "LoadState", bus_unit_append_load_state, "s", offsetof(Unit, load_state) },
|
||||
{ "ActiveState", bus_unit_append_active_state, "s", 0 },
|
||||
|
@ -87,6 +87,7 @@
|
||||
" <property name=\"PropagateReloadFrom\" type=\"as\" access=\"read\"/>\n" \
|
||||
" <property name=\"RequiresMountsFor\" type=\"as\" 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=\"ActiveState\" 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
|
||||
Unit.Names, config_parse_unit_names, 0, 0
|
||||
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.RequiresOverridable, config_parse_unit_deps, UNIT_REQUIRES_OVERRIDABLE, 0
|
||||
Unit.Requisite, config_parse_unit_deps, UNIT_REQUISITE, 0
|
||||
|
@ -2063,6 +2063,43 @@ int config_parse_unit_requires_mounts_for(
|
||||
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
|
||||
|
||||
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_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_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_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);
|
||||
|
@ -397,6 +397,7 @@ void unit_free(Unit *u) {
|
||||
cgroup_attribute_free_list(u->cgroup_attributes);
|
||||
|
||||
free(u->description);
|
||||
strv_free(u->documentation);
|
||||
free(u->fragment_path);
|
||||
free(u->instance);
|
||||
|
||||
@ -624,7 +625,7 @@ const char *unit_description(Unit *u) {
|
||||
}
|
||||
|
||||
void unit_dump(Unit *u, FILE *f, const char *prefix) {
|
||||
char *t;
|
||||
char *t, **j;
|
||||
UnitDependency d;
|
||||
Iterator i;
|
||||
char *p2;
|
||||
@ -672,6 +673,9 @@ void unit_dump(Unit *u, FILE *f, const char *prefix) {
|
||||
SET_FOREACH(t, u->names, i)
|
||||
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)))
|
||||
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)) {
|
||||
char **j;
|
||||
|
||||
fprintf(f,
|
||||
"%s\tRequiresMountsFor:", prefix);
|
||||
|
||||
|
@ -157,6 +157,7 @@ struct Unit {
|
||||
char **requires_mounts_for;
|
||||
|
||||
char *description;
|
||||
char **documentation;
|
||||
|
||||
char *fragment_path; /* if loaded from a config file this is the primary path to it */
|
||||
usec_t fragment_mtime;
|
||||
|
@ -5610,3 +5610,24 @@ int can_sleep(const char *type) {
|
||||
free(p);
|
||||
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);
|
||||
|
||||
bool is_valid_documentation_url(const char *url);
|
||||
|
||||
#endif
|
||||
|
@ -2158,6 +2158,8 @@ typedef struct UnitStatusInfo {
|
||||
const char *description;
|
||||
const char *following;
|
||||
|
||||
char **documentation;
|
||||
|
||||
const char *path;
|
||||
const char *default_control_group;
|
||||
|
||||
@ -2303,6 +2305,19 @@ static void print_status_info(UnitStatusInfo *i) {
|
||||
if (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)
|
||||
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);
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
@ -2932,6 +2968,8 @@ static int show_one(const char *verb, DBusConnection *bus, const char *path, boo
|
||||
if (!show_properties)
|
||||
print_status_info(&info);
|
||||
|
||||
strv_free(info.documentation);
|
||||
|
||||
if (!streq_ptr(info.active_state, "active") &&
|
||||
!streq_ptr(info.active_state, "reloading") &&
|
||||
streq(verb, "status"))
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Basic System
|
||||
Documentation=man:systemd.special(7)
|
||||
Requires=sysinit.target sockets.target
|
||||
After=sysinit.target sockets.target
|
||||
RefuseManualStart=yes
|
||||
|
@ -5,8 +5,7 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Bluetooth
|
||||
Documentation=man:systemd.special(7)
|
||||
StopWhenUnneeded=yes
|
||||
|
@ -5,7 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Encrypted Volumes
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Huge Pages File System
|
||||
Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
ConditionPathExists=/sys/kernel/mm/hugepages
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=POSIX Message Queue File System
|
||||
Documentation=man:mq_overview(7)
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
ConditionPathExists=/proc/sys/fs/mqueue
|
||||
|
@ -5,8 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Emergency Shell
|
||||
DefaultDependencies=no
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Emergency Mode
|
||||
Documentation=man:systemd.special(7)
|
||||
Requires=emergency.service
|
||||
After=emergency.service
|
||||
AllowIsolate=yes
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Final Step
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
RefuseManualStart=yes
|
||||
After=shutdown.target umount.target
|
||||
|
@ -7,3 +7,4 @@
|
||||
|
||||
[Unit]
|
||||
Description=Login Prompts
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Getty on %I
|
||||
Documentation=man:agetty(8)
|
||||
After=systemd-user-sessions.service plymouth-quit-wait.service
|
||||
m4_ifdef(`TARGET_FEDORA',
|
||||
After=rc-local.service
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Graphical Interface
|
||||
Documentation=man:systemd.special(7)
|
||||
Requires=multi-user.target
|
||||
After=multi-user.target
|
||||
Conflicts=rescue.target
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Halt
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
Requires=halt.service
|
||||
After=halt.service
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Hibernate
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
BindTo=hibernate.service
|
||||
After=hibernate.service
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
# This exists mostly for compatibility with SysV/LSB units, and
|
||||
# implementations lacking socket/bus activation.
|
||||
|
||||
[Unit]
|
||||
Description=Web Server
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Reboot via kexec
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
Requires=kexec.service
|
||||
After=kexec.service
|
||||
|
@ -5,7 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Local File Systems
|
||||
Documentation=man:systemd.special(7)
|
||||
OnFailure=emergency.target
|
||||
OnFailureIsolate=yes
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
# This exists mostly for compatibility with SysV/LSB units, and
|
||||
# implementations lacking socket/bus activation.
|
||||
|
||||
[Unit]
|
||||
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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Multi-User
|
||||
Documentation=man:systemd.special(7)
|
||||
Requires=basic.target
|
||||
Conflicts=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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Network
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -5,11 +5,10 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
# This exists mostly for compatibility with SysV/LSB units, and
|
||||
# implementations lacking socket/bus activation.
|
||||
|
||||
[Unit]
|
||||
Description=Host and Network Name Lookups
|
||||
Documentation=man:systemd.special(7)
|
||||
After=network.target
|
||||
|
@ -5,11 +5,10 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
# This exists mostly for implementations lacking socket/bus
|
||||
# activation.
|
||||
|
||||
[Unit]
|
||||
Description=User and Group Name Lookups
|
||||
Documentation=man:systemd.special(7)
|
||||
After=network.target
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Power-Off
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
Requires=poweroff.service
|
||||
After=poweroff.service
|
||||
|
@ -5,8 +5,7 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Printer
|
||||
Documentation=man:systemd.special(7)
|
||||
StopWhenUnneeded=yes
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Arbitrary Executable File Formats File System
|
||||
Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt
|
||||
DefaultDependencies=no
|
||||
|
||||
[Mount]
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Reboot
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
Requires=reboot.service
|
||||
After=reboot.service
|
||||
|
@ -5,8 +5,7 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Remote File Systems (Pre)
|
||||
Documentation=man:systemd.special(7)
|
||||
After=network.target nss-lookup.target
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Remote File Systems
|
||||
Documentation=man:systemd.special(7)
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,8 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Rescue Shell
|
||||
DefaultDependencies=no
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Rescue Mode
|
||||
Documentation=man:systemd.special(7)
|
||||
Requires=basic.target rescue.service
|
||||
After=basic.target rescue.service
|
||||
AllowIsolate=yes
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
# This exists mostly for compatibility with SysV/LSB units, and
|
||||
# implementations lacking socket/bus activation.
|
||||
|
||||
[Unit]
|
||||
Description=RPC Port Mapper
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Serial Getty on %I
|
||||
Documentation=man:agetty(8)
|
||||
BindTo=dev-%i.device
|
||||
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
|
||||
m4_ifdef(`TARGET_FEDORA',
|
||||
|
@ -5,9 +5,8 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Shutdown
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
RefuseManualStart=yes
|
||||
|
@ -5,7 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Power Failure
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -5,9 +5,8 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Sleep
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
RefuseManualStart=yes
|
||||
|
@ -5,8 +5,7 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Smart Card
|
||||
Documentation=man:systemd.special(7)
|
||||
StopWhenUnneeded=yes
|
||||
|
@ -5,7 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Sockets
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -5,8 +5,7 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Sound Card
|
||||
Documentation=man:systemd.special(7)
|
||||
StopWhenUnneeded=yes
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Suspend
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
BindTo=suspend.service
|
||||
After=suspend.service
|
||||
|
@ -5,7 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Swap
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=System Initialization
|
||||
Documentation=man:systemd.special(7)
|
||||
Conflicts=emergency.service emergency.target
|
||||
Wants=local-fs.target swap.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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Syslog Socket
|
||||
Documentation=man:systemd.special(7)
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/syslog
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target syslog.target
|
||||
Conflicts=shutdown.target
|
||||
|
@ -5,13 +5,13 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
# This exists mostly for compatibility with SysV/LSB units, and
|
||||
# implementations lacking socket/bus activation.
|
||||
|
||||
[Unit]
|
||||
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
|
||||
# until the very end and do not cancel shutdown.target if we should
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Dispatch Password Requests to Console Directory Watch
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=plymouth-start.service
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Dispatch Password Requests to Console
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=plymouth-start.service
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Forward Password Requests to Plymouth Directory Watch
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=plymouth-start.service
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Forward Password Requests to Plymouth
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=plymouth-start.service
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Forward Password Requests to Wall Directory Watch
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
Before=basic.target shutdown.target
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Forward Password Requests to Wall
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
|
||||
After=systemd-user-sessions.service
|
||||
|
||||
[Service]
|
||||
|
@ -7,6 +7,8 @@
|
||||
|
||||
[Unit]
|
||||
Description=Set Up Additional Binary Formats
|
||||
Documentation=man:binfmt.d(5)
|
||||
Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Hostname Service
|
||||
Documentation=man:hostname(5)
|
||||
Documentation=man:machine-info(5)
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
|
||||
|
||||
[Service]
|
||||
ExecStart=@rootlibexecdir@/systemd-hostnamed
|
||||
|
@ -5,8 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=/dev/initctl Compatibility Daemon
|
||||
DefaultDependencies=no
|
||||
|
@ -5,8 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=/dev/initctl Compatibility Named Pipe
|
||||
DefaultDependencies=no
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Journal Service
|
||||
Documentation=man:journald.conf(5)
|
||||
DefaultDependencies=no
|
||||
Requires=systemd-journald.socket
|
||||
After=systemd-journald.socket
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Journal Socket
|
||||
Documentation=man:journald.conf(5)
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target syslog.target
|
||||
|
||||
|
@ -5,10 +5,11 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Locale Service
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/localed
|
||||
Documentation=man:locale.conf(5)
|
||||
Documentation=man:vconsole.conf(5)
|
||||
|
||||
[Service]
|
||||
ExecStart=@rootlibexecdir@/systemd-localed
|
||||
|
@ -5,10 +5,10 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Login Service
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
|
||||
Documentation=man:logind.conf(5)
|
||||
After=nss-user-lookup.target
|
||||
|
||||
[Service]
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Load Kernel Modules
|
||||
Documentation=man:modules-load.d(5)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Delayed Shutdown Service
|
||||
DefaultDependencies=no
|
||||
|
@ -5,8 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Delayed Shutdown Socket
|
||||
DefaultDependencies=no
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Apply Kernel Variables
|
||||
Documentation=man:sysctl.d(5)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Network Time Protocol
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -5,10 +5,10 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Time & Date Service
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
|
||||
Documentation=man:timezone(5)
|
||||
|
||||
[Service]
|
||||
ExecStart=@rootlibexecdir@/systemd-timedated
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Cleanup of Temporary Directories
|
||||
Documentation=man:tmpfiles.d(5)
|
||||
DefaultDependencies=no
|
||||
Wants=local-fs.target
|
||||
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Daily Cleanup of Temporary Directories
|
||||
Documentation=man:tmpfiles.d(5)
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Recreate Volatile Files and Directories
|
||||
Documentation=man:tmpfiles.d(5)
|
||||
DefaultDependencies=no
|
||||
Wants=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]
|
||||
Description=udev Control Socket
|
||||
Documentation=man:udev(7)
|
||||
Documentation=man:udevd(8)
|
||||
DefaultDependencies=no
|
||||
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]
|
||||
Description=udev Kernel Socket
|
||||
Documentation=man:udev(7)
|
||||
Documentation=man:udevd(8)
|
||||
DefaultDependencies=no
|
||||
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
|
||||
# acts as a barrier for basic.target -- so all later services will
|
||||
# wait for udev completely finishing its coldplug run.
|
||||
@ -10,6 +17,8 @@
|
||||
|
||||
[Unit]
|
||||
Description=udev Wait for Complete Device Initialization
|
||||
Documentation=man:udev(7)
|
||||
Documentation=man:udevd(8)
|
||||
DefaultDependencies=no
|
||||
Wants=systemd-udev.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]
|
||||
Description=udev Coldplug all Devices
|
||||
Documentation=man:udev(7)
|
||||
Documentation=man:udevd(8)
|
||||
Wants=systemd-udev.service
|
||||
After=systemd-udev-kernel.socket systemd-udev-control.socket
|
||||
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]
|
||||
Description=udev Kernel Device Manager
|
||||
Documentation=man:udev(7)
|
||||
Documentation=man:udevd(8)
|
||||
Wants=systemd-udev-control.socket systemd-udev-kernel.socket
|
||||
After=systemd-udev-control.socket systemd-udev-kernel.socket
|
||||
Before=basic.target
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Update UTMP about System Runlevel Changes
|
||||
Documentation=man:utmp(5)
|
||||
DefaultDependencies=no
|
||||
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
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Update UTMP about System Shutdown
|
||||
Documentation=man:utmp(5)
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
|
||||
Before=poweroff.service reboot.service halt.service
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
[Unit]
|
||||
Description=Setup Virtual Console
|
||||
Documentation=man:vconsole.conf(5)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
# This exists mostly for compatibility with SysV/LSB units, and
|
||||
# implementations lacking socket/bus activation.
|
||||
|
||||
[Unit]
|
||||
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
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Unmount All Filesystems
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
RefuseManualStart=yes
|
||||
|
@ -5,7 +5,6 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Default
|
||||
Documentation=man:systemd.special(7)
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Exit the Session
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
Requires=shutdown.target
|
||||
After=shutdown.target
|
||||
|
@ -5,10 +5,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Exit the Session
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
Requires=exit.service
|
||||
After=exit.service
|
||||
|
Loading…
Reference in New Issue
Block a user