9aead397fd
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).
20 lines
526 B
Desktop File
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
|