mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 13:20:42 +00:00
- Added initial implementation of the `pkg6depotd` server with modular components for CLI parsing, configuration management, HTTP handling, repository access, and daemonization. - Implemented basic server startup logic with a default router and placeholder handlers. - Integrated telemetry initialization and configuration fallback mechanism for ease of development. - Updated `Cargo.toml` and `Cargo.lock` to include dependencies necessary for server functionality.
14 lines
177 B
Text
14 lines
177 B
Text
server {
|
|
bind "0.0.0.0:8080"
|
|
workers 4
|
|
}
|
|
|
|
repository {
|
|
root "/tmp/pkg_repo"
|
|
mode "readonly"
|
|
}
|
|
|
|
telemetry {
|
|
service-name "pkg6depotd"
|
|
log-format "json"
|
|
}
|