* Restart bluetooth on failure?
@ 2015-02-05 16:09 Sebastien Bacher
0 siblings, 0 replies; only message in thread
From: Sebastien Bacher @ 2015-02-05 16:09 UTC (permalink / raw)
To: linux-bluetooth
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
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
[-- Attachment #2: 0001-restart-service-on-failure.patch --]
[-- Type: text/x-diff, Size: 670 bytes --]
>From b5f1ca81438f9072fa1928d1603d25f062210665 Mon Sep 17 00:00:00 2001
From: Sebastien Bacher <seb128@ubuntu.com>
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-05 16:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 16:09 Restart bluetooth on failure? Sebastien Bacher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.