<div dir="auto">Can you please resolve it from your end actually I don't no exactly where the loop hole.<div dir="auto"><br></div><div dir="auto">Thanks and Regards</div><div dir="auto">Ram</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Aug 2019, 19:54 Hans-Dieter Doll, <<a href="mailto:Hans-Dieter.Doll@drb.insel.de">Hans-Dieter.Doll@drb.insel.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> typically that issue is a sign of bad design and just worked by luck<br>
> with a simple init system lacking of concepts for service states<br>
well, the design is from last century :-)<br>
<br>
> you should split your stuff into multiple systemd units and pack them<br>
> into a target instead wrap a dozen of more or less independent things<br>
> in a single unit<br>
<br>
The programs in question are interaktive programs (like an editor),<br>
which are called by different users several times in parallel with<br>
parameters they want.<br>
(The programs attach to the supervisor process via shared memory)<br>
<br>
I'm new to systemd, but I don't think I can write units for this.<br>
<br>
But if systemd kills these processes first with a SIGTERM and only<br>
after some time with SIGKILL, I could catch SIGTERM and can orderly<br>
terminate the processes. This would solve our problem.<br>
<br>
I assume systemd does it this way, right?<br>
<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a></blockquote></div>