ahkok / user-session-units

A collection of units for the systemd user session.
GNU Lesser General Public License v2.1
72 stars 23 forks source link

Two improvements for user-session@.service #2

Closed phmccarty closed 12 years ago

phmccarty commented 12 years ago

This is a 2-commit patch series:

The first commit fixes logind session "activation", so that the user session will be assigned a type of "tty" and the seat "seat0". A nice side effect is that polkit will succeed in identifying active sessions, so that non-root user can carry out actions like suspend, reboot, and poweroff when appropriate.

The second commit enables setting MemoryLimit and MemorySoftLimit for user session services, previously only possible with system services.