Elogind

From Dejvino's Knowledge Base
Jump to navigation Jump to search

Standalone login daemon separated from systemd.

elogind-inhibit

Counterpart to systemd-inhibit.

elogind-inhibit [OPTIONS...] {COMMAND} ...

Execute a process while inhibiting shutdown/sleep/idle.

  -h --help               Show this help
     --version            Show package version
     --no-pager           Do not pipe output into a pager
     --no-legend          Do not show the headers and footers
     --what=WHAT          Operations to inhibit, colon separated list of:
                          shutdown, sleep, idle, handle-power-key,
                          handle-suspend-key, handle-hibernate-key,
                          handle-lid-switch
     --who=STRING         A descriptive string who is inhibiting
     --why=STRING         A descriptive string why is being inhibited
     --mode=MODE          One of block or delay
     --list               List active inhibitors

See the elogind-inhibit(1) man page for details.