- 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>
18 lines
No EOL
532 B
Desktop File
18 lines
No EOL
532 B
Desktop File
[Unit]
|
|
Description=HVAC Content Aggregation - 8 AM 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 |