state-hub/infra/systemd/custodian-sync.service

11 lines
366 B
SYSTEMD
Raw Normal View History

[Unit]
Description=State Hub consistency sync — fix-consistency-remote sweep
After=network.target
[Service]
Type=oneshot
WorkingDirectory=/home/worsch/state-hub
ExecStartPre=/usr/bin/curl -sf http://127.0.0.1:8000/state/health
ExecStart=/home/worsch/.local/bin/uv run python scripts/consistency_check.py --remote --all
StandardOutput=journal
StandardError=journal