From c10c50b8d513b66c5671f4774f7146d46a5a359f Mon Sep 17 00:00:00 2001 From: Aleksander Mistewicz Date: Fri, 8 Dec 2017 12:18:49 +0100 Subject: [PATCH] Move tsp log to /var/tmp Change-Id: I15a5d5d91d3512b1d950bee36928429b35ea8f0b --- tsp/common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsp/common.sh b/tsp/common.sh index a59c069..2075432 100755 --- a/tsp/common.sh +++ b/tsp/common.sh @@ -66,7 +66,8 @@ TSP_WWW="${TSP_DIR}/www" test -d "${WS_PUBLISH_WWW}" || cp -r "${TSP_WWW}" "${WS_PUBLISH_WWW}" -TSP_LOG_DIR="/tmp/" +TSP_LOG_DIR="/var/tmp" +test -d "${TSP_LOG_DIR}" || mkdir -p "${TSP_LOG_DIR}" TMP_POLL="${TSP_LOG_DIR}/tl-master-poll" TMP_MASTER="${TSP_LOG_DIR}/tl-master" -- 2.7.4