]> git.proxmox.com Git - mirror_lxc.git/blame - doc/ja/lxc-autostart.sgml.in
lxc-autostart: don't set timeout if user requested -s
[mirror_lxc.git] / doc / ja / lxc-autostart.sgml.in
CommitLineData
28f2ab26
KY
1<!--
2
3lxc-autostart
4
5(C) Copyright 2013 Canonical Ltd.
6
7Authors:
8Stéphane Graber <stgraber@ubuntu.com>
9
10This library is free software; you can redistribute it and/or
11modify it under the terms of the GNU Lesser General Public
12License as published by the Free Software Foundation; either
13version 2.1 of the License, or (at your option) any later version.
14
15This library is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public
21License along with this library; if not, write to the Free Software
22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24-->
25
26<!DOCTYPE refentry PUBLIC @docdtd@ [
27 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
28 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
29]>
30
31<refentry>
32 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
33 <refmeta>
34 <refentrytitle>lxc-autostart</refentrytitle>
35 <manvolnum>1</manvolnum>
36 </refmeta>
37
38 <refnamediv>
39 <refname>lxc-autostart</refname>
40
41 <refpurpose>
42 <!--
43 start/stop/kill auto-started containers
44 -->
45 自動起動の設定がされたコンテナの開始/停止/kill
46 </refpurpose>
47 </refnamediv>
48
49 <refsynopsisdiv>
50 <cmdsynopsis>
51 <command>lxc-autostart</command>
52 <arg choice="opt">-k</arg>
53 <arg choice="opt">-L</arg>
54 <arg choice="opt">-r</arg>
55 <arg choice="opt">-s</arg>
56 <arg choice="opt">-a</arg>
57 <arg choice="opt">-g <replaceable>groups</replaceable></arg>
58 <arg choice="opt">-t <replaceable>timeout</replaceable></arg>
59 </cmdsynopsis>
60 </refsynopsisdiv>
61
62 <refsect1>
63 <title><!-- Description -->説明</title>
64
65 <para>
66 <!--
67 <command>lxc-autostart</command> processes containers
68 with lxc.start.auto set. It lets the user start, shutdown,
69 kill, restart containers in the right order, waiting the
70 right time. Supports filtering by lxc.group or just run
71 against all defined containers. It can also be used by
72 external tools in list mode where no action will be performed
73 and the list of affected containers (and if relevant, delays)
74 will be shown.
75 -->
76 <command>lxc-autostart</command> は lxc.start.auto が設定されたコンテナの処理を行います.
77 ユーザがコンテナの開始,シャットダウン,kill,再起動を,設定した時間待機を行い,正しい順番で行えるようにします.
78 lxc.group でのフィルタリングによって,もしくは定義された全てのコンテナを実行します.
79 何の動作も行わず,対象のコンテナ (とコンテナに設定された待機時間) のリストを表示するリストモードを外部ツールから使用することも可能です.
80 </para>
81
82 <para>
83 <!--
84 The <optional>-r</optional>, <optional>-s</optional>
85 and <optional>-k</optional> options specify the action to perform.
86 If none is specified, then the containers will be started.
87 <optional>-a</optional> and <optional>-g</optional> are used to
88 specify which containers will be affected. By default only
89 containers without a lxc.group set will be affected.
90 <optional>-t TIMEOUT</optional> specifies the maximum amount
91 of time to wait for the container to complete the shutdown
92 or reboot.
93 -->
94 <optional>-r</optional>, <optional>-s</optional>, <optional>-k</optional> オプションは実行する動作を指定します.何も指定しない場合は,コンテナを起動します.
95 <optional>-a</optional>, <optional>-g</optional> は,どのコンテナを対象にするかを指定するのに使います.デフォルトでは,lxc.group が指定されていないコンテナにだけ影響します.
96 <optional>-t TIMEOUT</optional> はコンテナが完全にシャットダウンもしくはリブートを待つ最大時間を指定します.
97 </para>
98 </refsect1>
99
100 <refsect1>
101 <title><!-- Options -->オプション</title>
102 <variablelist>
103 <varlistentry>
104 <term>
105 <option>-r,--reboot </option>
106 </term>
107 <listitem>
108 <para>
109 <!--
110 Request a reboot of the container.
111 -->
112 コンテナのリブートを要求します.
113 </para>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry>
118 <term>
119 <option>-s,--shutdown </option>
120 </term>
121 <listitem>
122 <para>
123 <!--
124 Only request a clean shutdown, do not kill the
125 container tasks if the clean shutdown fails.
126 -->
2da1f56c 127 クリーンなシャットダウンのみを要求します.クリーンなシャットダウンに失敗した場合でも,コンテナのタスクを kill しません.
28f2ab26
KY
128 </para>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry>
133 <term>
134 <option>-k,--kill </option>
135 </term>
136 <listitem>
137 <para>
138 <!--
139 Rather than requesting a clean shutdown of the
140 container, explicitly kill all tasks in the container.
141 -->
142 コンテナのクリーンなシャットダウンを要求するのではなく,明確にコンテナの全てのタスクを kill します.
143 </para>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry>
148 <term>
149 <option>-L,--list </option>
150 </term>
151 <listitem>
152 <para>
153 <!--
154 Rather than performing the action, just print
155 the container name.
156 -->
157 実際の動作は行わず,コンテナ名の表示だけを行います.
158 </para>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry>
163 <term>
164 <option>-t,--timeout <replaceable>TIMEOUT</replaceable></option>
165 </term>
166 <listitem>
167 <para>
168 <!--
2da1f56c 169 Wait TIMEOUT seconds before hard-stopping the container.
28f2ab26 170 -->
2da1f56c 171 コンテナの強制停止まで TIMEOUT 秒待ちます.
28f2ab26
KY
172 </para>
173 </listitem>
174 </varlistentry>
175 </variablelist>
176 </refsect1>
177
178 &seealso;
179
180 <refsect1>
181 <title>Author</title>
182 <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
183 </refsect1>
184</refentry>
185
186<!-- Keep this comment at the end of the file
187Local variables:
188mode: sgml
189sgml-omittag:t
190sgml-shorttag:t
191sgml-minimize-attributes:nil
192sgml-always-quote-attributes:t
193sgml-indent-step:2
194sgml-indent-data:t
195sgml-parent-document:nil
196sgml-default-dtd-file:nil
197sgml-exposed-tags:nil
198sgml-local-catalogs:nil
199sgml-local-ecat-files:nil
200End:
201-->