docs: marked off two completed items

This commit is contained in:
Blake Ridgway 2025-06-15 13:05:33 -05:00
parent 0016161a8e
commit 7656375feb

View file

@ -10,9 +10,9 @@
- [x] Add `echo` statements to report what the script is doing. - [x] Add `echo` statements to report what the script is doing.
**Enhancements & Features:** **Enhancements & Features:**
- [ ] **Argument Parsing:** Modify the script to accept the log file path as a command-line argument instead of being hardcoded. - [x] **Argument Parsing:** Modify the script to accept the log file path as a command-line argument instead of being hardcoded.
- [x] **Root Check:** Add a check at the beginning to ensure the script is run with `sudo` or as the root user. - [x] **Root Check:** Add a check at the beginning to ensure the script is run with `sudo` or as the root user.
- [ ] **Error Handling:** Use `set -e` to make the script exit immediately if a command fails. Add a check to ensure the provided log file actually exists. - [x] **Error Handling:** Use `set -e` to make the script exit immediately if a command fails. Add a check to ensure the provided log file actually exists.
- [ ] **Configuration File:** Move variables like `BACKUP_DIR` to an external `/etc/log-archiver.conf` file. - [ ] **Configuration File:** Move variables like `BACKUP_DIR` to an external `/etc/log-archiver.conf` file.
- [ ] **Automated Cleanup:** Add a feature to automatically delete backups older than a specified number of days (e.g., 90 days). - [ ] **Automated Cleanup:** Add a feature to automatically delete backups older than a specified number of days (e.g., 90 days).