From bf95fba72e8437e1b307d93d3fc6c49effc1f919 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 29 Sep 2021 11:22:57 +0200 Subject: [PATCH] remove wrong calls to systemd_notify We alrteady call systemd_notify inside the create_service future. --- src/bin/proxmox-backup-api.rs | 1 - src/bin/proxmox-backup-proxy.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/bin/proxmox-backup-api.rs b/src/bin/proxmox-backup-api.rs index d4ef814a..3474d1ca 100644 --- a/src/bin/proxmox-backup-api.rs +++ b/src/bin/proxmox-backup-api.rs @@ -123,7 +123,6 @@ async fn run() -> Result<(), Error> { ); proxmox_rest_server::write_pid(pbs_buildcfg::PROXMOX_BACKUP_API_PID_FN)?; - daemon::systemd_notify(daemon::SystemdNotify::Ready)?; let init_result: Result<(), Error> = try_block!({ proxmox_rest_server::register_task_control_commands(&mut commando_sock)?; diff --git a/src/bin/proxmox-backup-proxy.rs b/src/bin/proxmox-backup-proxy.rs index e65a1695..4d9765f7 100644 --- a/src/bin/proxmox-backup-proxy.rs +++ b/src/bin/proxmox-backup-proxy.rs @@ -266,7 +266,6 @@ async fn run() -> Result<(), Error> { ); proxmox_rest_server::write_pid(pbs_buildcfg::PROXMOX_BACKUP_PROXY_PID_FN)?; - daemon::systemd_notify(daemon::SystemdNotify::Ready)?; let init_result: Result<(), Error> = try_block!({ proxmox_rest_server::register_task_control_commands(&mut commando_sock)?;