Restart bluetooth on failure?
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
Quoted 1 line
From
b5f1ca81438f9072fa1928d1603d25f062210665Mon Sep 17 00:00:00 2001
From: Sebastien Bacher <[email protected]>
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(-)
src/bluetooth.service.in +1 -1
@@ -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
Signature · 1 line
2.1.4