wake-lock
Synopsis
Section titled “Synopsis”wake-lock <command> [args...]Description
Section titled “Description”Runs a command under systemd-inhibit to prevent the system from idling or sleeping for the duration of the command.
Arguments
Section titled “Arguments”command |
Command to run with sleep inhibition active |
args... |
Arguments forwarded to the command |
Exit Status
Section titled “Exit Status”0 |
Command ran and completed |
1 |
No command provided |
Example
Section titled “Example”wake-lock rsync -avz src/ dest/