Files
uno-q-audio-synth/system/pd-synth-onboard.service
T
david b445c272fb 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
2026-06-24 02:48:40 -07:00

20 lines
551 B
Desktop File

[Unit]
Description=Pure Data Synth (Onboard PMIC Audio)
After=multi-user.target synth-diagnostic.service
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