You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the systemd user instance mapped various logind state changes to target units. Specifically:
On sleep, take out an inhibitor and start a user sleep.target unit (stopping it on wake).
When a new session is added (for the user in question), start a session@$SESSION_ID.target user unit.
When a session is removed start a logout@$SESSION_ID.target unit that conflicts with session@$SESSION_ID.target. It may be sufficient to simply stop session@$SESSION_ID.target but starting a logout target mirrors the system-wide shutdown unit.
The text was updated successfully, but these errors were encountered:
Submission type
systemd version the issue has been seen with
Used distribution
Description
It would be nice if the systemd user instance mapped various logind state changes to target units. Specifically:
sleep.target
unit (stopping it on wake).session@$SESSION_ID.target
user unit.logout@$SESSION_ID.target
unit that conflicts withsession@$SESSION_ID.target
. It may be sufficient to simply stopsession@$SESSION_ID.target
but starting a logout target mirrors the system-wide shutdown unit.The text was updated successfully, but these errors were encountered: