diff options
author | Schmalzried, Terry (ts862m) <ts862m@att.com> | 2019-11-13 16:47:45 -0500 |
---|---|---|
committer | Schmalzried, Terry (ts862m) <ts862m@att.com> | 2019-11-14 15:40:57 -0500 |
commit | 05f475fb6ec2c4a1acd2698d29a4c12b116a1d36 (patch) | |
tree | 0d834d29a6d78fe678904be5655d76fe9913b2b8 /run_policy.sh | |
parent | 8dc742e747e0f418665ab9422f5c6c2cda94869b (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.sh | 1 |
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) |