Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
413 B
Desktop File
14 lines
413 B
Desktop File
[Unit]
|
|
Description=SDR signal-source discovery sweep (pauses sdr-scanner ~60 s)
|
|
After=sdr-scanner.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Nice=5
|
|
ExecStartPre=/bin/systemctl stop sdr-scanner.service
|
|
ExecStart=/usr/bin/python3 -I /opt/pi/sdr/discover/discover.py
|
|
# always give the HackRF back to the scanner, even if the sweep failed
|
|
ExecStopPost=/bin/systemctl start sdr-scanner.service
|
|
TimeoutStartSec=240
|
|
MemoryMax=600M
|