From d2934690a5cbb71c7cf2ac036c52cc1936501c1d Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 1 Aug 2026 01:08:48 +0200 Subject: [PATCH] Fix BLE advertising after reboot --- systemd/pi-car-companion-bluetooth.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/pi-car-companion-bluetooth.service b/systemd/pi-car-companion-bluetooth.service index 55b0c57..fae334e 100644 --- a/systemd/pi-car-companion-bluetooth.service +++ b/systemd/pi-car-companion-bluetooth.service @@ -7,7 +7,7 @@ Wants=pi-car-companion.service [Service] Type=simple ExecStart=/usr/local/libexec/pi-car-companion-bluetooth -ExecStartPost=-/usr/bin/timeout 10 /usr/bin/btmgmt add-adv -c -u 6c7a0001-7c6d-4f74-9bb0-c5a4e5efc001 1 +ExecStartPost=/usr/bin/timeout 5 /usr/bin/script -qec '/usr/bin/btmgmt add-adv -c -u 6c7a0001-7c6d-4f74-9bb0-c5a4e5efc001 1' /dev/null Restart=on-failure RestartSec=5s NoNewPrivileges=true