Unfortunately, I don't think that patch is going in as-is. Lennart is worried about it bloating the unit configuration language and increasing the chance of a loop.
The change of adding OnStop= wouldn't bother me, but I don't feel strongly enough to take it up as a cause. You should join the OnStop= thread's discussion if you'd like to raise your use cases. On Sat, Dec 1, 2012 at 5:30 PM, Khem Raj <raj.k...@gmail.com> wrote: > > > > On Sat, Dec 1, 2012 at 6:52 AM, Oleksii Shevchuk <alx...@gmail.com> wrote: >> >> > yeah OnStop= and/or OnShutdown= is something that will solve my problem >> > exactly >> >> You can try this one: >> >> >> http://lists.freedesktop.org/archives/systemd-devel/2012-November/007304.html >> > > exactly what I needed. Thanks. > > >> >> // wbr, Alex > > -- David Strauss | da...@davidstrauss.net | +1 512 577 5827 [mobile] _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel