mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man: minor edits to daemon, sd_listen_fds, sd_notify, systemctl, systemd.exec, systemd, and systemd.timer pages
Just some minor grammar fixes.
This commit is contained in:
parent
7b97f47732
commit
ad678a066b
@ -384,7 +384,7 @@
|
|||||||
communication channels are established already, and no
|
communication channels are established already, and no
|
||||||
request is lost because client requests will be queued
|
request is lost because client requests will be queued
|
||||||
by the bus system (in case of D-Bus) or the kernel (in
|
by the bus system (in case of D-Bus) or the kernel (in
|
||||||
case of sockets), until the activation
|
case of sockets), until the activation is
|
||||||
completed.</para>
|
completed.</para>
|
||||||
|
|
||||||
<refsect2>
|
<refsect2>
|
||||||
@ -726,7 +726,7 @@
|
|||||||
install their systemd unit files in the
|
install their systemd unit files in the
|
||||||
directory returned by <command>pkg-config
|
directory returned by <command>pkg-config
|
||||||
systemd
|
systemd
|
||||||
--variable=systemdsystemnunitdir</command>
|
--variable=systemdsystemunitdir</command>
|
||||||
(for system services),
|
(for system services),
|
||||||
resp. <command>pkg-config systemd
|
resp. <command>pkg-config systemd
|
||||||
--variable=systemdsessionunitdir</command>
|
--variable=systemdsessionunitdir</command>
|
||||||
@ -809,8 +809,8 @@ fi</programlisting>
|
|||||||
<para>Since new-style init systems such as systemd are
|
<para>Since new-style init systems such as systemd are
|
||||||
compatible with traditional SysV init systems it is
|
compatible with traditional SysV init systems it is
|
||||||
not strictly necessary to port existing daemons to the
|
not strictly necessary to port existing daemons to the
|
||||||
new style. However doing this offers additional
|
new style. However doing so offers additional
|
||||||
functionality to the daemons as well as it simplifies
|
functionality to the daemons as well as simplifying
|
||||||
integration into new-style init systems.</para>
|
integration into new-style init systems.</para>
|
||||||
|
|
||||||
<para>To port an existing SysV compatible daemon the
|
<para>To port an existing SysV compatible daemon the
|
||||||
@ -849,7 +849,7 @@ fi</programlisting>
|
|||||||
left-over file descriptors are passed to
|
left-over file descriptors are passed to
|
||||||
executed processes, it might be a good choice
|
executed processes, it might be a good choice
|
||||||
to simply skip the closing of all remaining
|
to simply skip the closing of all remaining
|
||||||
open file descriptors if file descriptors are
|
open file descriptors if sockets are
|
||||||
passed.</para></listitem>
|
passed.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>Write and install a systemd
|
<listitem><para>Write and install a systemd
|
||||||
|
@ -109,8 +109,8 @@
|
|||||||
<para>On failure, this call returns a negative
|
<para>On failure, this call returns a negative
|
||||||
errno-style error code. If
|
errno-style error code. If
|
||||||
<varname>$LISTEN_FDS</varname>/<varname>$LISTEN_PID</varname>
|
<varname>$LISTEN_FDS</varname>/<varname>$LISTEN_PID</varname>
|
||||||
was not set or not correctly set for this daemon and
|
was not set or was not correctly set for this daemon and
|
||||||
hence no file descriptors received, 0 is
|
hence no file descriptors were received, 0 is
|
||||||
returned. Otherwise the number of file descriptors
|
returned. Otherwise the number of file descriptors
|
||||||
passed is returned. The application may find them
|
passed is returned. The application may find them
|
||||||
starting with file descriptor SD_LISTEN_FDS_START,
|
starting with file descriptor SD_LISTEN_FDS_START,
|
||||||
|
@ -252,7 +252,7 @@
|
|||||||
<title>Start-up Notification</title>
|
<title>Start-up Notification</title>
|
||||||
|
|
||||||
<para>When a daemon finished starting up, it
|
<para>When a daemon finished starting up, it
|
||||||
might issue the following call call to notify
|
might issue the following call to notify
|
||||||
the init system:</para>
|
the init system:</para>
|
||||||
|
|
||||||
<programlisting>sd_notify(0, "READY=1");</programlisting>
|
<programlisting>sd_notify(0, "READY=1");</programlisting>
|
||||||
|
@ -381,7 +381,7 @@
|
|||||||
unit files and recreate the entire
|
unit files and recreate the entire
|
||||||
dependency tree. While the daemon is
|
dependency tree. While the daemon is
|
||||||
reloaded, all sockets systemd listens
|
reloaded, all sockets systemd listens
|
||||||
on on behalf of user configuration, will
|
on on behalf of user configuration will
|
||||||
stay accessible.</para> <para>This
|
stay accessible.</para> <para>This
|
||||||
command should not be confused with
|
command should not be confused with
|
||||||
the <command>load</command> or
|
the <command>load</command> or
|
||||||
|
@ -374,13 +374,13 @@
|
|||||||
<option>inherit</option>.</para></listitem>
|
<option>inherit</option>.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>StandardOutput=</varname></term>
|
<term><varname>StandardError=</varname></term>
|
||||||
<listitem><para>Controls where file
|
<listitem><para>Controls where file
|
||||||
descriptor 2 (STDERR) of the executed
|
descriptor 2 (STDERR) of the executed
|
||||||
processes is connected to. The
|
processes is connected to. The
|
||||||
available options are identical to
|
available options are identical to
|
||||||
those of
|
those of
|
||||||
<varname>StandardError=</varname>,
|
<varname>StandardOutput=</varname>,
|
||||||
whith one exception: if set to
|
whith one exception: if set to
|
||||||
<option>inherit</option> the file
|
<option>inherit</option> the file
|
||||||
descriptor used for standard output is
|
descriptor used for standard output is
|
||||||
@ -617,7 +617,7 @@
|
|||||||
|
|
||||||
<listitem><para>Controls the control
|
<listitem><para>Controls the control
|
||||||
groups the executed processes shall be
|
groups the executed processes shall be
|
||||||
made member of. Takes a
|
made members of. Takes a
|
||||||
space-seperated list of cgroup
|
space-seperated list of cgroup
|
||||||
identifiers. A cgroup identifier has a
|
identifiers. A cgroup identifier has a
|
||||||
format like
|
format like
|
||||||
|
@ -170,10 +170,10 @@
|
|||||||
specified, this value defaults to a
|
specified, this value defaults to a
|
||||||
service that has the same name as the
|
service that has the same name as the
|
||||||
timer unit, except for the
|
timer unit, except for the
|
||||||
suffix. (See above.) It is recommended,
|
suffix. (See above.) It is recommended
|
||||||
that the unit name that is activated
|
that the unit name that is activated
|
||||||
and the unit name of the timer unit
|
and the unit name of the timer unit
|
||||||
are named identical, except for the
|
are named identically, except for the
|
||||||
suffix.</para></listitem>
|
suffix.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
<listitem><para>Extract D-Bus
|
<listitem><para>Extract D-Bus
|
||||||
interface introspection data. This is
|
interface introspection data. This is
|
||||||
mostly useful at build at install time
|
mostly useful at install time
|
||||||
to generate data suitable for the
|
to generate data suitable for the
|
||||||
D-Bus interfaces
|
D-Bus interfaces
|
||||||
repository. Optionally the interface
|
repository. Optionally the interface
|
||||||
|
Loading…
Reference in New Issue
Block a user