diff options
author | Simon Rettberg | 2019-10-18 16:54:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-10-18 16:54:58 +0200 |
commit | d3f4abfe0af5db926b8d450d03971aac77e520b0 (patch) | |
tree | fbcc5dee9d15d560db88fca2ec6a17c9b88cffd3 /core/modules/idleaction/data | |
parent | [idleaction] Pass --kill-user-processes by default (diff) | |
download | mltk-d3f4abfe0af5db926b8d450d03971aac77e520b0.tar.gz mltk-d3f4abfe0af5db926b8d450d03971aac77e520b0.tar.xz mltk-d3f4abfe0af5db926b8d450d03971aac77e520b0.zip |
[idleaction] Stop logind from killing user processes on logout
This turned out to be a little too agressive; We run some async jobs on
session close that were killed by logind. Defer the process cleanup
until idle-daemon sees that the user doesn't have any more open
sessions.
Diffstat (limited to 'core/modules/idleaction/data')
-rw-r--r-- | core/modules/idleaction/data/etc/systemd/logind.conf.d/00-bwlp-default.conf | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/modules/idleaction/data/etc/systemd/logind.conf.d/00-bwlp-default.conf b/core/modules/idleaction/data/etc/systemd/logind.conf.d/00-bwlp-default.conf index 2f8aed56..f3e4800a 100644 --- a/core/modules/idleaction/data/etc/systemd/logind.conf.d/00-bwlp-default.conf +++ b/core/modules/idleaction/data/etc/systemd/logind.conf.d/00-bwlp-default.conf @@ -1,6 +1,5 @@ [Login] -KillUserProcesses=yes -KillExcludeUsers=root +KillUserProcesses=no IdleAction=ignore HandleLidSwitch=ignore HandleLidSwitchDocked=ignore |