Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
527 B
Desktop File
27 lines
527 B
Desktop File
[Unit]
|
|
Description=SDR recordings voice/noise post-filter (moves noise to DAY/noise/)
|
|
After=local-fs.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=sdr
|
|
Group=sdr
|
|
UMask=0002
|
|
ExecStart=/usr/bin/python3 -I /opt/pi/sdr/classify/classify.py
|
|
Restart=always
|
|
RestartSec=10
|
|
Nice=15
|
|
IOSchedulingClass=idle
|
|
CPUQuota=60%
|
|
MemoryMax=600M
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
PrivateTmp=yes
|
|
ReadWritePaths=/srv/sdr/recordings /srv/sdr/discovery
|
|
ProtectKernelTunables=yes
|
|
ProtectControlGroups=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|