From d3351bcf1839757ac677924c6c161c914db467ad Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 12 Dec 2022 15:27:00 +0100 Subject: backup-email: switch path to tmpfs --- backup-email | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backup-email') diff --git a/backup-email b/backup-email index 70db237..339c5a4 100644 --- a/backup-email +++ b/backup-email @@ -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 Attach ({}); -:if ([ $MkDir $0 ] = false) do={ +:if ([ $MkDir $DirName ] = false) do={ $LogPrintExit2 error $0 ("Failed creating directory!") true; } -- cgit v1.2.3-54-g00ecf