Runtime selection for the OpenRoadCode service supervisor backend. More...
Functions | |
| ServiceManagerRuntime | detect_service_manager_runtime (Mapping[str, str]|None environment=None, *, str|None platform=None) |
| Return the service-manager runtime for the current host. | |
| create_service_manager (Mapping[str, str]|None environment=None, *, str|None platform=None) | |
| Construct the supervisor backend appropriate for the current runtime. | |
Runtime selection for the OpenRoadCode service supervisor backend.
| ServiceManagerRuntime service_manager_runtime.detect_service_manager_runtime | ( | Mapping[str, str] | None | environment = None, |
| * | , | ||
| str | None | platform = None ) |
Return the service-manager runtime for the current host.
Termux is identified from its environment rather than from the presence of a particular supervisor executable. Normal Linux hosts use systemd.