Files
Button/webconfig/bluetooth.service.d/override.conf
T
GrigoandClaude Opus 5.5 115879ab67 collector: survive bluetoothd hangs and restarts
- every BlueZ call runs off the asyncio thread with a timeout; if bluetoothd
  stays unresponsive for 30 s the collector restarts bluetooth.service and
  exits for a clean re-registration
- Type=notify + WatchdogSec for buttontask-collector, never give up restarting
- bluetooth.service drop-in: Restart=always (BlueZ 5.55 crashes on assert/SEGV),
  installed by device-install.sh and OTA (bt-update)
- bt-service: bluez-restart action for the collector

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:10:02 +00:00

11 lines
332 B
Plaintext

# Installed as /etc/systemd/system/bluetooth.service.d/override.conf
# bluetoothd 5.55 on this board crashes now and then (GLib assert / SEGV).
# Stock unit has no Restart=, so after a crash BLE stayed dead until something
# happened to D-Bus-activate it again.
[Unit]
StartLimitIntervalSec=0
[Service]
Restart=always
RestartSec=2