> Or you could use cgroups: have your run script put itself
> in a dedicated process cgroup, and a finish script ensure that all the
> processes in the cgroup are killed when the service goes down.
But does this work when the kernel kills the supervisor? Wouldn't that belong 
to the root cgroup? Or is it possible to include the parent in my new cgroup?

Reply via email to