mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
admin commands for shutdown/reload
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
08f2b8579c
commit
3d3d63fdf4
4 files changed
+29
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user