Dwight, On Tue, 2013-12-31 at 16:31 -0500, Dwight Engen wrote: > Hi Mike,
> When looking through the sytemd unit file you made with commit > 87ff951e as I was doing the sysv init script, I was a bit confused > since there is no lxc-startup in libexec nor in the sources, at least > not that I could find :) Maybe that was a shell script that didn't get > added? Or the following patch might work as well: That was actually "with malice aforethought" and included some discussion with Serge. He was concerned that it might conflict with what Stéphane was doing with the autoboot stuff. At the time, I told him I was deliberately leaving out that particular shim (even though I had one for myself, which I posted) in order to avoid conflicting with Stéphane. Then, when his work was ready, we could glue it together, either by changing the unit file or by providing an appropriate shim script. They were good with that. > diff --git a/src/lxc/lxc.service b/src/lxc/lxc.service > index aa20b91..722364d 100644 > --- a/src/lxc/lxc.service > +++ b/src/lxc/lxc.service > @@ -6,8 +6,8 @@ After=syslog.target > Type=oneshot > RemainAfterExit=yes > ExecStartPre=/usr/libexec/lxc/lxc-devsetup > -ExecStart=/usr/libexec/lxc/lxc-startup start > -ExecStop=/usr/libexec/lxc/lxc-startup stop > +ExecStart=/usr/bin/lxc-autostart > +ExecStop=/usr/bin/lxc-autostart -s > # Environment=BOOTUP=serial > # Environment=CONSOLETYPE=serial > StandardOutput=syslog Regards, Mike -- Michael H. Warfield (AI4NB) | (770) 978-7061 | [email protected] /\/\|=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!
signature.asc
Description: This is a digitally signed message part
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
