Quoting Dan Kegel (d...@kegel.com):
Hi ho.
( I see https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1049908 also
deals with lxc and upstart, but my use case is probably different.)
I'd like to run an ephemeral container in a respawning upstart job,
but I don't know how shutdown should
On Fri, Oct 5, 2012 at 7:21 AM, Serge Hallyn serge.hal...@canonical.com wrote:
Might be able to work around this by wrapping lxc-start-ephemeral in a
program which forks off the script, then sits waiting for signals
(SIGCHILD or SIGINT), and tell upstart to send its signals to the
wrapper.
I
I took the coward's way out, adding a pre-stop script that just runs lxc-stop.
Dunno how kosher that is, but it seems to work.
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic
Hi ho.
( I see https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1049908 also
deals with lxc and upstart, but my use case is probably different.)
I'd like to run an ephemeral container in a respawning upstart job,
but I don't know how shutdown should work.
Has anybody else tried this?
First