On Mo, 15.06.20 03:01, Kamal Rathi ([email protected]) wrote:

> Hi Team,
>
> I have two services which are dependent on each other and are working fine
> at boot up but at shutdown / reboot , the processes get killed as shutdown
> got initated.

My educated guess is that your services use "su" or so, thus opening a
new session, which then gets killed like user sessions get killed. Use
"setpriv" to change privileges, not "su".

If "su" is not in the mix, then make sure your ExecStop= scripts work
correctly and kill all service processes correctly, since systemd just
kills what the ExecStop= binary doesn't kill.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to