<div dir="ltr">Hello,<div><br></div><div>I'm using LXC 0.7.5 with the stock ubuntu template. My containers are running ruby processes that are managed by upstart (launched by upstart scripts). </div><div><br></div><div>
I need these processes to be gracefully stopped when shutting down a container, i.e send the SIGTERM signal and wait for it to be done before fully shutting down my container.</div><div><br></div><div>I see that inside a container, upstart listen for the SIPWR signal and execute "shutdown -h now "SIGPWR received"", is it safe to remove this in order to achieve my goal ? Or is there any other alternatives ?</div>
<div><br></div><div>Regards,</div><div>Robin</div>







</div>