From 1907b4a1e12fcb5d096c19b7f33ec5c287e77c40 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@dailly.me>
Date: Sun, 6 Nov 2022 10:45:34 +0100
Subject: Correct the bluetooth systemd rule

---
 board/bluetooth.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'board')

diff --git a/board/bluetooth.sh b/board/bluetooth.sh
index 4cc2093..405d061 100644
--- a/board/bluetooth.sh
+++ b/board/bluetooth.sh
@@ -31,11 +31,11 @@ ExecStartPre=bt-adapter --set Discoverable 1
 ExecStart=/bin/sh -c '/usr/bin/yes | /usr/bin/bt-agent --capability=DisplayOnly'
 # Restart the service each 10s
 WatchdogSec=10
-RestartSec=5
+RestartSec=30
 Restart=always
 
 [Install]
-WantedBy=bluetooth.target
+WantedBy=multi-user.target
 __EOF__
 
 ## The same for the bluetooth, as bluetoothd keep a track for each paired device
-- 
cgit v1.2.3