hvac-kia-content/deploy/hvac-content-12pm.service
Ben Reed 2090da57f5 Add systemd deployment configuration
- Create systemd service and timer files for 8am and 12pm runs
- Add automated installation script
- Include deployment documentation with troubleshooting
- Configure for production with proper paths and environment

Ready for production deployment with:
  sudo ./deploy/install.sh

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 10:56:32 -03:00

18 lines
No EOL
533 B
Desktop File

[Unit]
Description=HVAC Content Aggregation - 12 PM Run
After=network.target
[Service]
Type=oneshot
User=ben
Group=ben
WorkingDirectory=/home/ben/dev/hvac-kia-content
Environment="PATH=/home/ben/.local/bin:/usr/local/bin:/usr/bin:/bin"
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.90WDB3"
ExecStart=/usr/bin/bash -c 'source /home/ben/dev/hvac-kia-content/.venv/bin/activate && python run_api_production_v2.py'
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target