aboutsummaryrefslogtreecommitdiffstats
path: root/run_policy.sh
diff options
context:
space:
mode:
authorSchmalzried, Terry (ts862m) <ts862m@att.com>2019-11-13 16:47:45 -0500
committerSchmalzried, Terry (ts862m) <ts862m@att.com>2019-11-14 15:40:57 -0500
commit05f475fb6ec2c4a1acd2698d29a4c12b116a1d36 (patch)
tree0d834d29a6d78fe678904be5655d76fe9913b2b8 /run_policy.sh
parent8dc742e747e0f418665ab9422f5c6c2cda94869b (diff)
DCAEGEN2-1919 add HTTPS and change log rotation
Change-Id: I7859dde9460620e18edca887f5dfc611639b268c Issue-ID: DCAEGEN2-1919 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Diffstat (limited to 'run_policy.sh')
-rw-r--r--run_policy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_policy.sh b/run_policy.sh
index 8055bea..478fc67 100644
--- a/run_policy.sh
+++ b/run_policy.sh
@@ -47,4 +47,5 @@ exec &>> >(tee -a ${LOG_FILE})
echo "---------------------------------------------"
echo "$(date +%Y-%m-%d_%T.%N): exit ${BASH_SOURCE[0]} that was started on ${STARTED}"
+rm -f ${LOG_FILE}.2[0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]_[0-9][0-9][0-9][0-9][0-9][0-9]
mv ${LOG_FILE} ${LOG_FILE}.$(date +%Y-%m-%d_%H%M%S)