archivebox.cli.archivebox_server
Module Contents
Functions
Stop any existing orchestrator process so the server can take ownership. |
|
Stop existing ArchiveBox web workers if they already own the requested bind. |
|
Run the ArchiveBox HTTP server |
|
API
- archivebox.cli.archivebox_server.stop_existing_background_runner(*, machine, process_model, supervisor=None, stop_worker_fn=None, log=print) int[source]
Stop any existing orchestrator process so the server can take ownership.
- archivebox.cli.archivebox_server._worker_command_matches_bind(command: str, host: str, port: str) bool[source]
- archivebox.cli.archivebox_server.stop_existing_server_workers(*, supervisor, stop_worker_fn, host: str, port: str, log=print) int[source]
Stop existing ArchiveBox web workers if they already own the requested bind.