File: ubuntu_error_restart.patch

package info (click to toggle)
bluez 5.84-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,776 kB
  • sloc: ansic: 418,350; python: 4,751; sh: 4,580; makefile: 738; xml: 126
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Sebastien Bacher <seb128@ubuntu.com>
Date: Fri, 3 Apr 2020 08:47:01 +0200
Subject: restart the service on errors

---
 src/bluetooth.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in
index 8ebe89b..add119e 100644
--- a/src/bluetooth.service.in
+++ b/src/bluetooth.service.in
@@ -9,7 +9,7 @@ BusName=org.bluez
 ExecStart=@PKGLIBEXECDIR@/bluetoothd
 NotifyAccess=main
 #WatchdogSec=10
-#Restart=on-failure
+Restart=on-failure
 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
 LimitNPROC=1