[lxc-devel] [PATCH] doc: Add lxc.rebootsignal to Japanese man pages.

Stéphane Graber stgraber at ubuntu.com
Tue Mar 10 01:27:28 UTC 2015


On Mon, Feb 23, 2015 at 05:01:56PM +0900, KATOH Yasufumi wrote:
> Also fix some indentation and improve translation.
> Update for commit 936762f
> 
> Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  doc/ja/lxc-stop.sgml.in           |   7 ++-
>  doc/ja/lxc.container.conf.sgml.in | 104 ++++++++++++++++++++++++--------------
>  2 files changed, 72 insertions(+), 39 deletions(-)
> 
> diff --git a/doc/ja/lxc-stop.sgml.in b/doc/ja/lxc-stop.sgml.in
> index aed1947..79f7a9a 100644
> --- a/doc/ja/lxc-stop.sgml.in
> +++ b/doc/ja/lxc-stop.sgml.in
> @@ -77,11 +77,14 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>        the container's init process, waiting up to 60 seconds for the container
>        to exit, and then returning. If the container fails to cleanly exit in
>        60 seconds, it will be sent the <command>lxc.stopsignal</command>
> -      (defaults to SIGKILL) to force it to shut down.
> +      (defaults to SIGKILL) to force it to shut down. A request to reboot will
> +      send the <command>lxc.rebootsignal</command> (defaults to SIGINT) to the
> +      container's init process.
>        -->
>        <command>lxc-stop</command> は、リブート、クリーンシャットダウン、コンテナ内の全てのプロセスの kill のどれかを行います。
>        デフォルトでは、コンテナのクリーンなシャットダウンを <command>lxc.haltsignal</command> (デフォルトでは SIGPWR) をコンテナの init プロセスに送ることでリクエストし、コンテナの終了を 60 秒待ち、return します。
> -      コンテナが 60 秒の間にクリーンに終了するのに失敗した場合、<command>lxc.stopsignal</command> (デフォルトでは SIGKILL) を送り、強制的にシャットダウンします。
> +      コンテナが 60 秒の間にクリーンに終了するのに失敗した場合、<command>lxc.stopsignal</command> (デフォルトは SIGKILL です) を送り、強制的にシャットダウンします。
> +      リブートのリクエストは <command>lxc.rebootsignal</command> に設定されたシグナルをコンテナの init プロセスに送ります (デフォルトは SIGINT です)。
>      </para>
>  
>      <para>
> diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in
> index 488b9dd..6419b36 100644
> --- a/doc/ja/lxc.container.conf.sgml.in
> +++ b/doc/ja/lxc.container.conf.sgml.in
> @@ -213,32 +213,62 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>        <title><!-- Halt signal -->クリーンなシャットダウン時のシグナル</title>
>        <para>
>          <!--
> -    Allows one to specify signal name or number, sent by lxc-stop to the
> -    container's init process to cleanly shutdown the container. Different
> -    init systems could use different signals to perform clean shutdown
> -    sequence. This option allows the signal to be specified in kill(1)
> -    fashion, e.g. SIGPWR, SIGRTMIN+14, SIGRTMAX-10 or plain number. The
> -    default signal is SIGPWR.
> +        Allows one to specify signal name or number, sent by lxc-stop to the
> +        container's init process to cleanly shutdown the container. Different
> +        init systems could use different signals to perform clean shutdown
> +        sequence. This option allows the signal to be specified in kill(1)
> +        fashion, e.g. SIGPWR, SIGRTMIN+14, SIGRTMAX-10 or plain number. The
> +        default signal is SIGPWR.
>            -->
> -        lxc-stop がコンテナをクリーンにシャットダウンするためにコンテナの init プロセスに送るシグナル名か番号を指定することができます。
> +        lxc-stop がコンテナをクリーンにシャットダウンするためにコンテナの init プロセスに送るシグナル名か番号を指定できます。
>          init システムによって、クリーンなシャットダウンを行うために使うシグナルは異なります。
>          このオプションではシグナルとして kill(1) で使う形式を指定することができます。
>          例えば SIGKILL, SIGRTMIN+14, SIGRTMAX-10 のような形式、もしくは数字を指定します。デフォルトのシグナルは SIGPWR です。
>        </para>
>        <variablelist>
> -    <varlistentry>
> -      <term>
> -        <option>lxc.haltsignal</option>
> -      </term>
> -      <listitem>
> -        <para>
> -          <!--
> -          specify the signal used to halt the container
> +        <varlistentry>
> +          <term>
> +            <option>lxc.haltsignal</option>
> +          </term>
> +          <listitem>
> +            <para>
> +              <!--
> +              specify the signal used to halt the container
> +              -->
> +              コンテナをシャットダウンするために使うシグナルを指定します。
> +            </para>
> +          </listitem>
> +        </varlistentry>
> +      </variablelist>
> +    </refsect2>
> +
> +    <refsect2>
> +      <title>リブート時のシグナル <!-- Reboot signal --></title>
> +      <para>
> +        <!--
> +        Allows one to specify signal name or number, sent by lxc-stop to
> +        reboot the container. This option allows signal to be specified in
> +        kill(1) fashion, e.g. SIGTERM, SIGRTMIN+14, SIGRTMAX-10 or plain number.
> +        The default signal is SIGINT.
>            -->
> -          コンテナをシャットダウンするのに使うシグナルを指定します
> -        </para>
> -      </listitem>
> -    </varlistentry>
> +        lxc-stop がコンテナをリブートするために送るシグナル名か番号を指定できます。
> +        このオプションではシグナルとして kill(1) で使う形式を指定することができます。
> +        例えば SIGKILL, SIGRTMIN+14, SIGRTMAX-10 のような形式、もしくは数字を指定します。デフォルトのシグナルは SIGINT です。
> +          </para>
> +          <variablelist>
> +        <varlistentry>
> +          <term>
> +            <option>lxc.rebootsignal</option>
> +          </term>
> +          <listitem>
> +            <para>
> +              <!--
> +              specify the signal used to reboot the container
> +                -->
> +              コンテナをリブートするために使うシグナルを指定します。
> +            </para>
> +          </listitem>
> +        </varlistentry>
>        </variablelist>
>      </refsect2>
>  
> @@ -246,29 +276,29 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>        <title><!-- Stop signal -->強制停止時のシグナル</title>
>        <para>
>          <!--
> -    Allows one to specify signal name or number, sent by lxc-stop to forcibly
> -    shutdown the container. This option allows signal to be specified in
> -    kill(1) fashion, e.g. SIGKILL, SIGRTMIN+14, SIGRTMAX-10 or plain number.
> -    The default signal is SIGKILL.
> -    -->
> +        Allows one to specify signal name or number, sent by lxc-stop to forcibly
> +        shutdown the container. This option allows signal to be specified in
> +        kill(1) fashion, e.g. SIGKILL, SIGRTMIN+14, SIGRTMAX-10 or plain number.
> +        The default signal is SIGKILL.
> +          -->
>          lxc-stop がコンテナを強制的にシャットダウンするために送るシグナル名か番号を指定することができます。
>          このオプションではシグナルとして kill(1) で使う形式を指定することができます。
>          例えば SIGKILL, SIGRTMIN+14, SIGRTMAX-10 のような形式、もしくは数字を指定します。デフォルトのシグナルは SIGKILL です。
>        </para>
>        <variablelist>
> -    <varlistentry>
> -      <term>
> -        <option>lxc.stopsignal</option>
> -      </term>
> -      <listitem>
> -        <para>
> -          <!--
> -          specify the signal used to stop the container
> -          -->
> -          コンテナを停止するのに使用するシグナルを指定します。
> -        </para>
> -      </listitem>
> -    </varlistentry>
> +        <varlistentry>
> +          <term>
> +            <option>lxc.stopsignal</option>
> +          </term>
> +          <listitem>
> +            <para>
> +              <!--
> +                  specify the signal used to stop the container
> +                -->
> +              コンテナを停止するのに使用するシグナルを指定します。
> +            </para>
> +          </listitem>
> +        </varlistentry>
>        </variablelist>
>      </refsect2>
>  
> -- 
> 2.2.1
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20150309/f53f3eb1/attachment.sig>


More information about the lxc-devel mailing list