Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
c00f3f36
Commit
c00f3f36
authored
Jul 21, 2014
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-start: Daemonize by default
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
Acked-by:
Serge E. Hallyn
<
serge.hallyn@ubuntu.com
>
parent
476d302c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
lxc-start.sgml.in
doc/lxc-start.sgml.in
+2
-2
lxc_start.c
src/lxc/lxc_start.c
+3
-3
No files found.
doc/lxc-start.sgml.in
View file @
c00f3f36
...
@@ -101,7 +101,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -101,7 +101,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<para>
<para>
Run the container as a daemon. As the container has no
Run the container as a daemon. As the container has no
more tty, if an error occurs nothing will be displayed,
more tty, if an error occurs nothing will be displayed,
the log file can be used to check the error.
the log file can be used to check the error.
(This is the default mode)
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -114,7 +114,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -114,7 +114,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<para>
<para>
Run the container in the foreground. In this mode, the container
Run the container in the foreground. In this mode, the container
console will be attached to the current tty and signals will be routed
console will be attached to the current tty and signals will be routed
directly to the container.
(This is the default mode)
directly to the container.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
src/lxc/lxc_start.c
View file @
c00f3f36
...
@@ -183,8 +183,8 @@ lxc-start start COMMAND in specified container NAME\n\
...
@@ -183,8 +183,8 @@ lxc-start start COMMAND in specified container NAME\n\
\n
\
\n
\
Options :
\n
\
Options :
\n
\
-n, --name=NAME NAME for name of the container
\n
\
-n, --name=NAME NAME for name of the container
\n
\
-d, --daemon Daemonize the container
\n
\
-d, --daemon Daemonize the container
(default)
\n
\
-F, --foreground Start with the current tty attached to /dev/console
(default)
\n
\
-F, --foreground Start with the current tty attached to /dev/console
\n
\
-p, --pidfile=FILE Create a file with the process id
\n
\
-p, --pidfile=FILE Create a file with the process id
\n
\
-f, --rcfile=FILE Load configuration file FILE
\n
\
-f, --rcfile=FILE Load configuration file FILE
\n
\
-c, --console=FILE Use specified FILE for the container console
\n
\
-c, --console=FILE Use specified FILE for the container console
\n
\
...
@@ -198,7 +198,7 @@ Options :\n\
...
@@ -198,7 +198,7 @@ Options :\n\
.
options
=
my_longopts
,
.
options
=
my_longopts
,
.
parser
=
my_parser
,
.
parser
=
my_parser
,
.
checker
=
NULL
,
.
checker
=
NULL
,
.
daemonize
=
0
,
.
daemonize
=
1
,
.
pidfile
=
NULL
,
.
pidfile
=
NULL
,
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment