334e934dd7
- pd-synth: add After=usb-gadget-audio.service midi-bridge.service (was Wants= only, race) - usb-gadget-audio: add Restart=on-failure After=sysinit.target - pd-synth-i2s: fix Wants=configure-usb-audio.service → usb-gadget-audio.service - detect-usb-role.sh: hardcode gadget role (all 4 detection methods always fail, skip 2s sleep) - arduino-router-serial: masked on board (flooded 2173× restarts looking for nonexistent /dev/ttyGS0)
17 lines
336 B
Desktop File
17 lines
336 B
Desktop File
[Unit]
|
|
Description=Pure Data I2S DAC Synth (standalone)
|
|
After=network.target sound.target
|
|
Wants=usb-gadget-audio.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=arduino
|
|
ExecStart=/usr/local/bin/start-synth.sh --i2s
|
|
ExecStop=/usr/bin/killall pd
|
|
WorkingDirectory=/home/arduino/pd
|
|
Restart=on-failure
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|