mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Feature/remove postgres (#2570)
* wip: move postgres data to patchdb * wip * wip * wip * complete notifications and clean up warnings * fill in user agent * move os tor bindings to single call
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
use rpc_toolkit::{from_fn_async, AnyContext, HandlerExt, ParentHandler};
|
||||
|
||||
use crate::context::CliContext;
|
||||
use rpc_toolkit::ParentHandler;
|
||||
|
||||
pub mod dhcp;
|
||||
pub mod dns;
|
||||
pub mod forward;
|
||||
pub mod host;
|
||||
pub mod keys;
|
||||
pub mod mdns;
|
||||
@@ -22,13 +21,4 @@ pub fn net() -> ParentHandler {
|
||||
ParentHandler::new()
|
||||
.subcommand("tor", tor::tor())
|
||||
.subcommand("dhcp", dhcp::dhcp())
|
||||
.subcommand("ssl", ssl::ssl())
|
||||
.subcommand(
|
||||
"rotate-key",
|
||||
from_fn_async(keys::rotate_key)
|
||||
.with_custom_display_fn::<AnyContext, _>(|handle, result| {
|
||||
Ok(keys::display_requires_reboot(handle.params, result))
|
||||
})
|
||||
.with_remote_cli::<CliContext>(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user