Restart bluetooth on failure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

Is there any reason bluetoothd is not restarted on failure? I recently
hit a segfault in the service and it let the user client non-working,
looks like the service doesn't get restarted either by systemd nor dbus
activation

The attached patch uncomment the restart from the systemd service

Cheers,
Sebastien Bacher
>From b5f1ca81438f9072fa1928d1603d25f062210665 Mon Sep 17 00:00:00 2001
From: Sebastien Bacher <seb128@xxxxxxxxxx>
Date: Thu, 5 Feb 2015 17:06:04 +0100
Subject: [PATCH] restart service on failure

---
 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 35e9457..36a8883 100644
--- a/src/bluetooth.service.in
+++ b/src/bluetooth.service.in
@@ -8,7 +8,7 @@ BusName=org.bluez
 ExecStart=@libexecdir@/bluetoothd
 NotifyAccess=main
 #WatchdogSec=10
-#Restart=on-failure
+Restart=on-failure
 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
 LimitNPROC=1
 
-- 
2.1.4


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux