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:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Synth pipeline diagnostic — runs unit tests at boot
|
||||
DefaultDependencies=no
|
||||
After=multi-user.target prometheus-exporter.service
|
||||
Before=midi-bridge.service pd-synth-onboard.service led-matrix-viz.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/arduino/uno-q-audio-synth/scripts/run-tests.sh
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
RemainAfterExit=yes
|
||||
|
||||
# Don't let failures cascade — critical for headless boot
|
||||
# On failure: services won't start, board stays SSH-accessible
|
||||
FailureAction=none
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user