aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-11-10 16:59:13 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-11-10 16:59:13 +0100
commitc85d4c956d7bba3236cb399d3032d092ba79e28b (patch)
treeb6adc8a673a2d547a14c6e7aa0ef4950444c7e93
parent1907b4a1e12fcb5d096c19b7f33ec5c287e77c40 (diff)
Updated the Watchdog time to 10mn instead of 10s
-rw-r--r--board/bluetooth.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/bluetooth.sh b/board/bluetooth.sh
index 405d061..960468a 100644
--- a/board/bluetooth.sh
+++ b/board/bluetooth.sh
@@ -8,7 +8,7 @@ create_missing_dir "/etc/bluetooth/"
cat << __EOF__ > "${TARGET_DIR}/etc/bluetooth/main.conf"
[General]
-Class = 200428
+Class = 0x200428
DiscoverableTimeout = 0
PairableTimeout = 0
@@ -29,9 +29,9 @@ ExecStartPre=bt-adapter --set Discoverable 1
# see https://github.com/RPi-Distro/repo/issues/291
#ExecStart=bt-agent -c NoInputNoOutput
ExecStart=/bin/sh -c '/usr/bin/yes | /usr/bin/bt-agent --capability=DisplayOnly'
-# Restart the service each 10s
-WatchdogSec=10
-RestartSec=30
+# Restart the service each 60s
+WatchdogSec=60
+RestartSec=60
Restart=always
[Install]