Skip to main content

Module process

Module process 

Source
Expand description

Code to adjust process-related parameters.

Re-exportsΒ§

use tracing::error; πŸ”’
use crate::ArtiConfig; πŸ”’

FunctionsΒ§

exit_if_root πŸ”’
Check that we are not running as β€œroot”.
running_as_root πŸ”’
Return true if we seem to be running as root.
sighup_stream πŸ”’
Return an async stream that reports an event whenever we get a SIGHUP signal.
use_max_file_limit
Set our current maximum-file limit to a large value, if we can.