From 4665e2a61fc6d22caba40e3ecd959d36e5acae5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Wed, 9 Mar 2022 12:10:57 +0100
Subject: [PATCH] feat: include current timestamp in exit DB

---
 templates/test_exit_strategy.sh.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/test_exit_strategy.sh.j2 b/templates/test_exit_strategy.sh.j2
index 2cab293..32bd97f 100644
--- a/templates/test_exit_strategy.sh.j2
+++ b/templates/test_exit_strategy.sh.j2
@@ -17,7 +17,7 @@ DATE="$(date +%Y-%m-%d_%H-%M-%S)"
 LOGFILE="/tmp/exit_log_${DATE}.log"
 
 EXIT_PERL="/usr/local/bin/rosettaExitStrategy/perl/exit_strategy.pl"
-EXIT_DB="/tmp/exit.db"
+EXIT_DB="/tmp/exit_${DATE}.db"
 EXIT_RECOVERY="--recovery"	# set to empty string to disable recovery mode or to "--recovery" to enable it
 
 # check user privileges
-- 
GitLab