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