mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-27 03:44:51 +02:00
15 lines
307 B
Rust
15 lines
307 B
Rust
extern crate krill_daemon;
|
|
|
|
use krill_daemon::config::Config;
|
|
use krill_daemon::http::server::PubServerApp;
|
|
|
|
fn main() {
|
|
match Config::create() {
|
|
Ok(config) => PubServerApp::run(&config),
|
|
Err(e) => {
|
|
eprintln!("{}", e);
|
|
::std::process::exit(1);
|
|
}
|
|
}
|
|
}
|