call create_run_dir() at daemon startup

This commit is contained in:
Dietmar Maurer 2021-05-06 10:23:54 +02:00
parent e5ef69ecf7
commit 78bf292343

View File

@ -39,6 +39,8 @@ async fn run() -> Result<(), Error> {
config::update_self_signed_cert(false)?; config::update_self_signed_cert(false)?;
proxmox_backup::tools::create_run_dir()?;
proxmox_backup::rrd::create_rrdb_dir()?; proxmox_backup::rrd::create_rrdb_dir()?;
proxmox_backup::server::jobstate::create_jobstate_dir()?; proxmox_backup::server::jobstate::create_jobstate_dir()?;
proxmox_backup::tape::create_tape_status_dir()?; proxmox_backup::tape::create_tape_status_dir()?;