On 2017-07-19 14:05:42 +0200, Laurent Bigonville wrote: > Le 19/07/17 à 12:24, Vincent Lefevre a écrit : > > So, that's the reason the daemon exits, I assume. But the question > > is why after 3 minutes and not immediately. > > Because on a loaded (or slow) machine, it could take some times > between the moment pam opens the session and the xdg autostart files > are run I guess.
Not very clean... > > KillUserProcesses=yes would have bad side effects, such as killing > > background computation processes and GNU screen! > You cans start the long running processes using "systemd-run --scope > --user". That's annoying and not standard (I don't use only systemd machines). I already use the NO_HUP shell option, and IMHO, systemd should honor this. > But screen should add support to creating a new systemd scope IMHO. A generic method should probably first be standardized in POSIX. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)