diff --git a/deploy/hvac-content-cumulative-8am.service b/deploy/hvac-content-cumulative-8am.service new file mode 100644 index 0000000..9a807fb --- /dev/null +++ b/deploy/hvac-content-cumulative-8am.service @@ -0,0 +1,18 @@ +[Unit] +Description=HVAC Content Cumulative with Images - 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_production_cumulative.py' +StandardOutput=journal +StandardError=journal + +[Install] +WantedBy=multi-user.target \ No newline at end of file