proxmox-rest-server: improve logging

And rename server_state_init() into catch_shutdown_and_reload_signals().
This commit is contained in:
Dietmar Maurer
2021-09-29 14:34:25 +02:00
parent a0ffd4a413
commit 38da8ca1bc
6 changed files with 22 additions and 12 deletions

View File

@ -96,7 +96,6 @@ pub fn our_ctrl_sock() -> String {
static SHUTDOWN_REQUESTED: AtomicBool = AtomicBool::new(false);
pub fn request_shutdown() {
println!("request_shutdown");
SHUTDOWN_REQUESTED.store(true, Ordering::SeqCst);
crate::server_shutdown();
}