diff --git a/buildroot-external/package/btspeaker/btspeaker.service b/buildroot-external/package/btspeaker/btspeaker.service index 708c9122..8368d60f 100644 --- a/buildroot-external/package/btspeaker/btspeaker.service +++ b/buildroot-external/package/btspeaker/btspeaker.service @@ -1,13 +1,14 @@ [Unit] Description=Bluetooth Auth Agent After=bluetooth.service -PartOf=bluetooth.service +Requires=bluetooth.service [Service] Type=simple ExecStartPre=/usr/bin/bt-adapter -s Powered on ExecStartPre=/usr/bin/bt-adapter -s Discoverable on ExecStart=/usr/bin/bt-agent -c NoInputNoOutput -p /etc/bluetooth/pin.conf +TimeoutStopSec=5 [Install] -WantedBy=bluetooth.target +WantedBy=multi-user.target diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system-preset/10-ovos.preset b/buildroot-external/rootfs-overlay/usr/lib/systemd/system-preset/10-ovos.preset index e39b5151..d0ee4be9 100644 --- a/buildroot-external/rootfs-overlay/usr/lib/systemd/system-preset/10-ovos.preset +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system-preset/10-ovos.preset @@ -29,3 +29,4 @@ disable snapclient.service disable snapserver.service disable spotifyd.service disable nodered.service +disable btspeaker.service