admin commands for shutdown/reload
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
08f2b8579c
commit
3d3d63fdf4
4 changed files with 29 additions and 5 deletions
|
@ -73,7 +73,7 @@ impl Console {
|
|||
|
||||
#[tracing::instrument(skip_all, name = "console")]
|
||||
async fn worker(self: Arc<Self>) {
|
||||
loop {
|
||||
while services().server.running() {
|
||||
let mut input = self.input.lock().await;
|
||||
|
||||
let suppression = log::Suppress::new(&services().server);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue