Files
uno-q-audio-synth/system/pd-synth-onboard.service
david 9aead397fd fix: remove After=synth-diagnostic from pipeline services
Root cause: synth-diagnostic uses systemctl start to start pipeline
services, but those services had After=synth-diagnostic — causing
deadlock (they waited for synth-diagnostic to exit, which was waiting
for them).

Fix: pipeline services no longer list synth-diagnostic in After=.
synth-diagnostic has Before= them for boot ordering, and starts them
directly via systemctl start in run-tests.sh.

Also fixed prometheus-exporter: had After=synth-diagnostic backwards
— should start before synth-diagnostic (synth-diagnostic has
After=prometheus-exporter).
2026-06-24 02:53:16 -07:00

20 lines
526 B
Desktop File

[Unit]
Description=Pure Data Synth (Onboard PMIC Audio)
After=multi-user.target
Wants=midi-bridge.service
[Service]
Type=simple
User=arduino
ExecStartPre=/bin/sh -c 'systemctl --user stop pipewire.socket pipewire.service wireplumber 2>/dev/null; sleep 0.5'
ExecStart=/home/arduino/uno-q-audio-synth/scripts/start-synth.sh --onboard
ExecStop=/usr/bin/killall pd
WorkingDirectory=/home/arduino/uno-q-audio-synth
Restart=on-failure
RestartSec=3
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target