[systemd-devel] KillUserProcesses timeout
lennart at poettering.net
Mon Jan 26 13:01:48 PST 2015
On Mon, 26.01.15 20:17, Mikhail Morfikov (mmorfikov at gmail.com) wrote:
> I'm using standalone Openbox and when I log out by killing Xserver
> (ctrl+alt+backspace), some processes stay alive even though the user
> logged out completely. I know there's a KillUserProcesses option in
> the /etc/systemd/logind.conf file, and it works just fine, but with a
> little lag. I mean, those processes in question will never exit, and
> when I'm logging again almost instantly to my box, all those processes
> will be killed shortly after I log -- because of KillUserProcesses .
> This concerns, for instance, tmux or gpg-agent -- I want them in my
> session, but I also want to kill them on logout.
> The question is how to set a timeout option for this
> KillUserProcesses ? For now I just have to wait 15-20sec to be sure all
> process exited and that I can log without worrying some processes will
> be killed after login.
Sorry, but I cannot parse this. Do you want a delay because when
logging out and back in you want to be able to reuse your old
gpg-agent? Or what precisely is the current behaviour and what do you
want it to be instead?
Lennart Poettering, Red Hat
More information about the systemd-devel