From 78bf292343bb75aae5362cb2959e8e1b0b168405 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer <dietmar@proxmox.com> Date: Thu, 6 May 2021 10:23:54 +0200 Subject: [PATCH] call create_run_dir() at daemon startup --- src/bin/proxmox-backup-api.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/proxmox-backup-api.rs b/src/bin/proxmox-backup-api.rs index e514a801..f50a04a5 100644 --- a/src/bin/proxmox-backup-api.rs +++ b/src/bin/proxmox-backup-api.rs @@ -39,6 +39,8 @@ async fn run() -> Result<(), Error> { config::update_self_signed_cert(false)?; + proxmox_backup::tools::create_run_dir()?; + proxmox_backup::rrd::create_rrdb_dir()?; proxmox_backup::server::jobstate::create_jobstate_dir()?; proxmox_backup::tape::create_tape_status_dir()?;