Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
419 B
Plaintext
8 lines
419 B
Plaintext
[Service]
|
|
# Do not start recording with a pre-NTP clock (bogus YYYY-MM-DD dirs after a reboot); give up after ~100 s.
|
|
ExecStartPre=/bin/sh -c "i=0; while [ $i -lt 50 ]; do [ \"$(timedatectl show -p NTPSynchronized --value 2>/dev/null)\" = yes ] && exit 0; i=$((i+1)); sleep 2; done; exit 0"
|
|
TimeoutStartSec=150
|
|
# stats_filepath=/run/sdr-scanner/stats.prom (tmpfs)
|
|
RuntimeDirectory=sdr-scanner
|
|
RuntimeDirectoryMode=0755
|