Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-forge/blob/main/infra/spark/edge-mirror-onchange.service # interplane-forge INTERPLANE Forge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-forge / infra / spark / edge-mirror-onchange.service` 23 lines ยท 1242 bytes Raw Blame History 1 [Unit] 2 Description=Spark front door: edge-mirror whenever the interplane.io publisher on this host pushes to the hub (continuous; aien-onchange on ~/.local/share/interplane-site) 3 # Source of record: ~/work/forge/web/infra/spark/edge-mirror-onchange.service; migration in infra/RUNBOOK.md. 4 # Partial replacement for edge-mirror.timer: the interplane.io publisher (sync-to-hub.sh, run by 5 # aien-run-interplane-sync) writes ~/.local/share/interplane-site/published.cksum right after it 6 # rsyncs to the Pi, so that is a real change signal on the Spark. The other folders edge-mirror 7 # pulls (aienos.com, aienos-code, aienos-hive, aienos-stats, replicate, si) are published from 8 # hosts or jobs that leave no signal here, and the Pi has no inotify-tools, so edge-mirror.timer 9 # stays until those publishers write to the Spark directly. edge-mirror.sh holds a lock, so this 10 # unit and the timer never run it at the same time. 11 After=network-online.target 12 13 [Service] 14 Type=simple 15 Environment=PATH=/usr/bin:/bin 16 ExecStart=/home/drakestapleton/.local/bin/aien-onchange 60 86400 %h/.local/share/interplane-site -- %h/work/forge/web/infra/spark/edge-mirror.sh 17 Restart=always 18 RestartSec=10 19 Nice=10 20 IOSchedulingClass=idle 21 22 [Install] 23 WantedBy=default.target