add boot-time synth-diagnostic.service

- synth-diagnostic.service: runs test-unit.py before pipeline services
- Type=oneshot, After=prometheus-exporter, Before=pipeline services
- Pipeline services: After=synth-diagnostic
- deploy: restart prometheus-exporter → start synth-diagnostic → restart pipeline
- install.sh: includes synth-diagnostic in SERVICES array
This commit is contained in:
2026-06-24 02:48:40 -07:00
parent 2e10839fc9
commit b445c272fb
8 changed files with 46 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
set -euo pipefail
REPO="/home/arduino/uno-q-audio-synth"
SERVICES=(midi-bridge pd-synth-onboard led-matrix-viz prometheus-exporter)
SERVICES=(synth-diagnostic midi-bridge pd-synth-onboard led-matrix-viz prometheus-exporter)
for svc in "${SERVICES[@]}"; do
sudo cp "$REPO/system/$svc.service" /etc/systemd/system/