tape: create tmp dirs early at server startup

This commit is contained in:
Dietmar Maurer committed 2021-02-19 18:10:02 +01:00
1 parent aca4c2b5a9
commit cd44fb8d84
4 files changed
+49 -11

No files matched your search

+2
View File
@@ -39,6 +39,8 @@ async fn run() -> Result<(), Error> {
proxmox_backup::rrd::create_rrdb_dir()?;
proxmox_backup::server::jobstate::create_jobstate_dir()?;
proxmox_backup::tape::create_tape_status_dir()?;
proxmox_backup::tape::create_drive_state_dir()?;
proxmox_backup::tape::create_changer_state_dir()?;
if let Err(err) = generate_auth_key() {
bail!("unable to generate auth key - {}", err);