admin commands for shutdown/reload

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-16 01:44:41 +00:00
parent 08f2b8579c
commit 3d3d63fdf4
4 changed files with 29 additions and 5 deletions

View file

@ -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);