From: Christian Brauner Date: Sun, 15 Apr 2018 20:42:43 +0000 (+0200) Subject: tools: document -d/--daemonize for lxc-execute X-Git-Tag: lxc-3.1.0~327^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4160ef02e5bbabbf4f3d0ab002aa8afba4f680a1;p=thirdparty%2Flxc.git tools: document -d/--daemonize for lxc-execute Closes #2280. Signed-off-by: Christian Brauner --- diff --git a/doc/lxc-execute.sgml.in b/doc/lxc-execute.sgml.in index 4ec7c1b94..20814348d 100644 --- a/doc/lxc-execute.sgml.in +++ b/doc/lxc-execute.sgml.in @@ -50,6 +50,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA lxc-execute -n name + -d -f config_file -s KEY=VAL -- command @@ -124,6 +125,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + + + + + + + Run the container as a daemon. As the container has no + more tty, if an error occurs nothing will be displayed, + the log file can be used to check the error. + + + + diff --git a/src/lxc/tools/lxc_execute.c b/src/lxc/tools/lxc_execute.c index 5291dd7a3..5c03b498b 100644 --- a/src/lxc/tools/lxc_execute.c +++ b/src/lxc/tools/lxc_execute.c @@ -104,6 +104,7 @@ and execs COMMAND into this container.\n\ \n\ Options :\n\ -n, --name=NAME NAME of the container\n\ + -d, --daemon Daemonize the container\n\ -f, --rcfile=FILE Load configuration file FILE\n\ -s, --define KEY=VAL Assign VAL to configuration variable KEY\n\ -u, --uid=UID Execute COMMAND with UID inside the container\n\