[systemd-devel] At wits end... need to execute a script prior to anything getting killed/changed on reboot/shutdown

Reindl Harald h.reindl at thelounge.net
Thu Jan 17 17:21:21 UTC 2019



Am 17.01.19 um 18:17 schrieb Christopher Cox:
> On 1/17/19 11:01 AM, Lennart Poettering wrote:
>> Hmm, what kind of processes are you missing? user session stuff? How
>> do you shut down? Note that display managers are likely to terminate
>> the user sessions first, and only initiate system shutdown then...
> 
> These are nohup'd background processes not tied to any tty.

give that a try!

[root at srv-rhsoft:~]$ cat /etc/systemd//logind.conf.d/logind.conf
[Login]
KillUserProcesses=no


More information about the systemd-devel mailing list