From a3e2822a0a6fd16678159c066fd0f1c8fb69303d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 12 Dec 2022 15:32:54 +0100 Subject: backup-upload: switch path to tmpfs --- backup-upload | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backup-upload') diff --git a/backup-upload b/backup-upload index 110ef25..338db3f 100644 --- a/backup-upload +++ b/backup-upload @@ -46,13 +46,14 @@ $WaitFullyConnected; } # filename based on identity +:local DirName ("tmpfs/" . $0); :local FileName [ $CharacterReplace ($Identity . "." . $Domain) "." "_" ]; -:local FilePath ($0 . "/" . $FileName); +:local FilePath ($DirName . "/" . $FileName); :local BackupFile "none"; :local ConfigFile "none"; :local Failed 0; -:if ([ $MkDir $0 ] = false) do={ +:if ([ $MkDir $DirName ] = false) do={ $LogPrintExit2 error $0 ("Failed creating directory!") true; } -- cgit v1.2.3-70-g09d2