mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Merge pull request #10953 from Security-Onion-Solutions/dougburks-patch-1
FEATURE: soup should rotate its log file #10951
This commit is contained in:
@@ -972,6 +972,11 @@ while getopts ":b:f:y" opt; do
|
||||
done
|
||||
shift $((OPTIND - 1))
|
||||
|
||||
if [ -f $SOUP_LOG ]; then
|
||||
CURRENT_TIME=$(date +%Y%m%d.%H%M%S)
|
||||
mv $SOUP_LOG $SOUP_LOG.$INSTALLEDVERSION.$CURRENT_TIME
|
||||
fi
|
||||
|
||||
if [[ -z $UNATTENDED ]]; then
|
||||
cat << EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user