logind: tighten for which classes of sessions we do stop-on-idle
authorLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2024 12:40:00 +0000 (13:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Jan 2024 16:23:48 +0000 (17:23 +0100)
commitad23439eae718ac3634f260be0d29e01445983a8
tree3339ce5ce1eacd201d6e5ba64520e9ad580f59be
parentd2a4c37972494aaf3deea5bc971bc45ab8f73f25
logind: tighten for which classes of sessions we do stop-on-idle

We only want to do this for fully set up, interactive sessions, i.e.
user and user-early, but not for any others, hence restrict the rules a
bit.

Follow-up for: 508b4786e8592e82eb4832549f74aaa54335d14c
src/login/logind-session.c
src/login/logind-session.h