diff --git a/archiveLogs.sh b/archiveLogs.sh index b8c6483..4352ee8 100644 --- a/archiveLogs.sh +++ b/archiveLogs.sh @@ -2,6 +2,9 @@ # Archive log files from the logs directory into a timestamped subdirectory, then delete them. +# Add to dockerStart.sh to run this script at startup, after the configuration setup: +# sh $CONF/archiveLogs.sh + LOGS_DIR=/conf/logs ARCHIVE_DIR=$LOGS_DIR/archive TIMESTAMP=$(date +"%Y%m%d_%H%M%S")