Fix data directory creation issue on clean install
- Added improved data directory handling in RSSFeedManager - Added synchronous creation of data directory in constructor - Created test-and-start.sh script to ensure data directory exists - Updated service module to use the startup script - Added fallback methods for data directory creation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -95,7 +95,14 @@ done
|
||||
# Source the remaining module files
|
||||
source "${SCRIPT_DIR}/modules/config-module.sh"
|
||||
source "${SCRIPT_DIR}/modules/dependencies-module.sh"
|
||||
source "${SCRIPT_DIR}/modules/service-setup-module.sh"
|
||||
# Check if the updated service module exists, use it if available
|
||||
if [ -f "${SCRIPT_DIR}/modules/service-setup-module-updated.sh" ]; then
|
||||
log "INFO" "Using updated service setup module"
|
||||
source "${SCRIPT_DIR}/modules/service-setup-module-updated.sh"
|
||||
else
|
||||
log "INFO" "Using standard service setup module"
|
||||
source "${SCRIPT_DIR}/modules/service-setup-module.sh"
|
||||
fi
|
||||
source "${SCRIPT_DIR}/modules/file-creator-module.sh"
|
||||
|
||||
# Function to handle cleanup on error
|
||||
|
||||
Reference in New Issue
Block a user