diff options
Diffstat (limited to 'tedge/src/main.rs')
-rw-r--r-- | tedge/src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tedge/src/main.rs b/tedge/src/main.rs index 18ffc316..235a61aa 100644 --- a/tedge/src/main.rs +++ b/tedge/src/main.rs @@ -111,6 +111,14 @@ async fn main() -> miette::Result<()> { plugin_notification::NotificationPluginBuilder } ); + let registry = tedge_cli::register_plugin!( + if feature "builtin_plugin_shutdown_timer" is enabled then + register on registry + builder of type plugin_shutdown_timer::ShutdownTimeoutPluginBuilder, + with instance { + plugin_shutdown_timer::ShutdownTimeoutPluginBuilder + } + ); tedge_cli::run_app(args, registry).await } |