remove wrong calls to systemd_notify
We alrteady call systemd_notify inside the create_service future.
This commit is contained in:
parent
d265420025
commit
bf95fba72e
|
@ -123,7 +123,6 @@ async fn run() -> Result<(), Error> {
|
||||||
);
|
);
|
||||||
|
|
||||||
proxmox_rest_server::write_pid(pbs_buildcfg::PROXMOX_BACKUP_API_PID_FN)?;
|
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!({
|
let init_result: Result<(), Error> = try_block!({
|
||||||
proxmox_rest_server::register_task_control_commands(&mut commando_sock)?;
|
proxmox_rest_server::register_task_control_commands(&mut commando_sock)?;
|
||||||
|
|
|
@ -266,7 +266,6 @@ async fn run() -> Result<(), Error> {
|
||||||
);
|
);
|
||||||
|
|
||||||
proxmox_rest_server::write_pid(pbs_buildcfg::PROXMOX_BACKUP_PROXY_PID_FN)?;
|
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!({
|
let init_result: Result<(), Error> = try_block!({
|
||||||
proxmox_rest_server::register_task_control_commands(&mut commando_sock)?;
|
proxmox_rest_server::register_task_control_commands(&mut commando_sock)?;
|
||||||
|
|
Loading…
Reference in New Issue