summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use original deadline if user logged outv26Simon Rettberg2020-01-151-3/+21
| | | | | | | We add 300 seconds to the deadline if a user is currently logged in. Even if the user logs out immediately, we still wait those extra 5 minutes. Add ugly code to immediately trigger the shutdown (or whatever) in that case.
* Try to wake up screen when showing X11 warningSimon Rettberg2019-11-181-0/+3
|
* rpc: Account for wall clock changesSimon Rettberg2019-11-181-1/+2
|
* Don't poll .no-saver if dpms and screen saver are disabledSimon Rettberg2019-11-151-1/+2
|
* FormattingSimon Rettberg2019-11-151-1/+1
|
* Show idle time in RPC replySimon Rettberg2019-11-131-2/+3
|
* Handle duplicate entries in utmp for X sessionsSimon Rettberg2019-10-221-9/+35
|
* Guess proper dbus socketSimon Rettberg2019-10-211-0/+17
|
* Add feature to clean up user processes after logoutSimon Rettberg2019-10-183-10/+39
|
* Fix fd leakSimon Rettberg2019-07-111-1/+3
|
* Slightly more consistent namingSimon Rettberg2019-06-125-18/+18
|
* Add RPC method "warn" to show messge to usersSimon Rettberg2019-06-125-3/+27
| | | | Only usable by root.
* Make sure user promptly sees warning when using RPCSimon Rettberg2019-05-231-3/+4
|
* Refine timingsSimon Rettberg2019-05-152-15/+19
|
* Support user disabling saver + dpmsSimon Rettberg2019-05-142-5/+11
|
* Better align warning messages with full minuteSimon Rettberg2019-05-141-11/+15
|
* Fix DPMS timeout calculationSimon Rettberg2019-05-141-1/+1
|
* f() -> f(void)Simon Rettberg2019-05-145-9/+9
|
* Enforce minimum delay for RPC actions if user is activeSimon Rettberg2019-05-141-7/+21
|
* Less debug spamSimon Rettberg2019-05-142-2/+4
|
* Retry loginctl show-sessionSimon Rettberg2019-05-142-0/+4
| | | | | | Sometimes we try to query a session too soon after login. The session is already present in utmp, but not known to logind yet. Retry for those cases.
* Properly cap sleep after RPC callSimon Rettberg2019-05-131-0/+5
|
* Support --min-idleSimon Rettberg2019-05-131-5/+17
| | | | | Requires a minimum amount of user idle time before performing a scheduled reboot/poweroff if a user is logged on.
* Add reboot/kexec/poweroff via RPCSimon Rettberg2019-05-134-140/+286
|
* Initial commitSimon Rettberg2019-05-1014-0/+1716