aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-11-06 10:45:34 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-11-06 10:45:34 +0100
commit1907b4a1e12fcb5d096c19b7f33ec5c287e77c40 (patch)
tree19b833d7d3ed984f6ad2bcd812d3606f17821ed7 /board
parent0ed24df603a196c24a4fa3a140d4b514e9d8cb11 (diff)
Correct the bluetooth systemd rule
Diffstat (limited to 'board')
-rw-r--r--board/bluetooth.sh4
1 files changed, 2 insertions, 2 deletions
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