#!/bin/bash # Update script to enable image downloading in production echo "Updating HVAC Content Aggregation to include image downloads..." echo # Stop and disable old services echo "Stopping old services..." sudo systemctl stop hvac-content-8am.timer hvac-content-12pm.timer sudo systemctl disable hvac-content-8am.service hvac-content-12pm.service sudo systemctl disable hvac-content-8am.timer hvac-content-12pm.timer # Copy new service files echo "Installing new services with image downloads..." sudo cp hvac-content-images-8am.service /etc/systemd/system/ sudo cp hvac-content-images-12pm.service /etc/systemd/system/ # Create new timer files (reuse existing timers with new names) sudo tee /etc/systemd/system/hvac-content-images-8am.timer > /dev/null < /dev/null <