b445c272fb
- 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
16 lines
336 B
Desktop File
16 lines
336 B
Desktop File
[Unit]
|
|
Description=Prometheus metrics exporter for synth pipeline
|
|
After=multi-user.target synth-diagnostic.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/home/arduino/uno-q-audio-synth/scripts/prometheus-exporter.py
|
|
User=root
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|