Crates.io | login-poweroff-reboot |
lib.rs | login-poweroff-reboot |
version | 0.4.5 |
source | src |
created_at | 2023-08-29 15:47:48.210464 |
updated_at | 2024-04-20 18:17:05.65507 |
description | Poweroff or reboot machine using dbus interface logind |
homepage | https://www.paulmin.nl/lipl.html |
repository | https://github.com/paulusminus/lipl-display/ |
max_upload_size | |
id | 958262 |
size | 7,385 |
This library create exports two functions, one for rebooting the machine, one for powering off the machine. It use dbus messages for logind under the hood. Make sure system-logind.service is running.