synth-diagnostic: just run tests, no service management

- run-tests.sh: no systemctl start/stop, just runs test-unit.py
- synth-diagnostic.service: removed Before=, keeps After=prometheus-exporter
  (no deadlock risk since run-tests.sh doesn't start services)
- justfile deploy: stop pipeline -> restart prometheus -> start
  synth-diagnostic -> restart pipeline

Pipeline starts independently at boot (no After=synth-diagnostic).
Diagnostic provides visibility at boot without blocking startup.
This commit is contained in:
2026-06-24 02:59:14 -07:00
parent 9aead397fd
commit 1876d8cd42
3 changed files with 5 additions and 15 deletions
+2 -1
View File
@@ -107,7 +107,8 @@ deploy:
echo '{{BOARD_PASS}}' | sudo -S systemctl stop midi-bridge pd-synth-onboard led-matrix-viz && \
echo '{{BOARD_PASS}}' | sudo -S systemctl restart prometheus-exporter && \
echo '{{BOARD_PASS}}' | sudo -S systemctl start synth-diagnostic && \
echo '[OK] Deployed + restarted'"
echo '{{BOARD_PASS}}' | sudo -S systemctl restart midi-bridge pd-synth-onboard led-matrix-viz && \
echo '[OK] Deployed'"
# Start synth (onboard audio)
synth-onboard: