Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
621 B
Desktop File
28 lines
621 B
Desktop File
[Unit]
|
|
Description=SDR voice scanner (RTLSDR-Airband on HackRF, scan mode)
|
|
After=network.target sdr-live.service
|
|
# HackRF is exclusive: starting this stops OpenWebRX (sdr-live) first
|
|
Conflicts=sdr-live.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=sdr
|
|
Group=sdr
|
|
SupplementaryGroups=plugdev
|
|
UMask=0002
|
|
ExecStart=/usr/local/bin/rtl_airband -F -e -c /etc/sdr-scanner/rtl_airband.conf
|
|
Restart=always
|
|
RestartSec=5
|
|
TimeoutStopSec=15
|
|
Nice=-5
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
PrivateTmp=yes
|
|
ReadWritePaths=/srv/sdr/recordings
|
|
ProtectKernelTunables=yes
|
|
ProtectControlGroups=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|