Add startup instructions for archiving logs script

This commit is contained in:
2026-05-25 21:54:49 +02:00
parent b27e902b24
commit cd7b8e21be

View File

@@ -2,6 +2,9 @@
# Archive log files from the logs directory into a timestamped subdirectory, then delete them. # 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 LOGS_DIR=/conf/logs
ARCHIVE_DIR=$LOGS_DIR/archive ARCHIVE_DIR=$LOGS_DIR/archive
TIMESTAMP=$(date +"%Y%m%d_%H%M%S") TIMESTAMP=$(date +"%Y%m%d_%H%M%S")