[lxc-devel] [RFC] lxc-start: daemonize by default

Michael H. Warfield mhw at WittsEnd.com
Fri May 2 14:34:51 UTC 2014


On Fri, 2014-05-02 at 16:00 +0200, Harald Dunkel wrote:
> I haven't seen this suggested before: How about making
> 
> 	lxc-start -n container
> 
> an alias for
> 
> 	lxc-start -n container -d
> 	lxc-console -n container

> ?

I was thinking along those lines too.  Literally, if someone has this
problem, just do it at the shell level with an alias...

alias lxc-start='lxc-start -d'

Stuff it in a .profile somewhere.

> This would allow me to detach from the container, if I
> forgot the "-d" for lxc-start.

Which is a nice idea that would preserve most of the current behavior if
we had a sane default for stderr.

> Regards
> Harri

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140502/ac6e3282/attachment.sig>


More information about the lxc-devel mailing list