[Unit] Description=Pure Data Synth (auto-detect: gadget or host) ConditionPathExists=/home/arduino/uno-q-audio-synth/pd/synth.pd Documentation=https://github.com/arduino/uno-q-audio-synth After=usb-role-detect.service Wants=usb-role-detect.service [Service] Type=simple ExecStart=/home/arduino/uno-q-audio-synth/scripts/start-synth.sh --auto --verbose ExecStop=/usr/bin/killall -s TERM pd StandardOutput=journal StandardError=journal Restart=on-failure RestartSec=2 [Install] WantedBy=multi-user.target