akkudoktoreos.server.server

Server Module.

Functions

drop_root_privileges([run_as_user])

Drop root privileges and switch execution to a less privileged user.

fix_data_directories_permissions([run_as_user])

Ensure correct ownership for data directories.

get_default_host()

Default host for EOS.

get_host_ip()

IP address of the host machine.

validate_ip_or_hostname(value)

Validate whether a string is a valid IP address (IPv4 or IPv6) or hostname.

wait_for_port_free(port[, timeout, ...])

Wait for a network port to become free, with timeout.

Classes

ServerCommonSettings(*[, host, port, ...])

Server Configuration.