Adding better backups and log rotation, and updating files around it

This commit is contained in:
2024-10-14 19:30:51 -07:00
parent bbd2de6792
commit 527ba5cf58
7 changed files with 64 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Set the log directory
LOG_DIR="/etc/httpd/logs"
LOG_DIR="/var/log/httpd"
# Get current date
DATE=$(date +%Y%m%d)