From 46cd376423333955bb0439a839d38837fd7b2134 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 18 Aug 2013 14:13:25 +0200 Subject: [PATCH] avahi: rework debugmode service Signed-off-by: Stephan Raue --- packages/network/bluez/debug.d/bluez.conf | 1 + packages/network/bluez/debug.d/obexd.conf | 1 + packages/network/bluez/system.d/bluetooth-monitor.path | 2 +- packages/network/bluez/system.d/bluetooth.service | 2 +- packages/network/bluez/system.d/obex-monitor.path | 2 +- packages/network/bluez/system.d/obex.service | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 packages/network/bluez/debug.d/bluez.conf create mode 100644 packages/network/bluez/debug.d/obexd.conf diff --git a/packages/network/bluez/debug.d/bluez.conf b/packages/network/bluez/debug.d/bluez.conf new file mode 100644 index 0000000000..d0cf58bd73 --- /dev/null +++ b/packages/network/bluez/debug.d/bluez.conf @@ -0,0 +1 @@ +BLUEZ_DEBUG="--debug" diff --git a/packages/network/bluez/debug.d/obexd.conf b/packages/network/bluez/debug.d/obexd.conf new file mode 100644 index 0000000000..b78fd35c02 --- /dev/null +++ b/packages/network/bluez/debug.d/obexd.conf @@ -0,0 +1 @@ +OBEXD_DEBUG="--debug" diff --git a/packages/network/bluez/system.d/bluetooth-monitor.path b/packages/network/bluez/system.d/bluetooth-monitor.path index 590072e15d..8db78f3e9d 100644 --- a/packages/network/bluez/system.d/bluetooth-monitor.path +++ b/packages/network/bluez/system.d/bluetooth-monitor.path @@ -3,7 +3,7 @@ Description=Bluetooth configfile monitor [Path] PathModified=/storage/.cache/services/bluez.conf -PathModified=/run/openelec/debug.conf +PathModified=/run/openelec/debug/bluez.conf [Install] WantedBy=bluetooth.target diff --git a/packages/network/bluez/system.d/bluetooth.service b/packages/network/bluez/system.d/bluetooth.service index 762a46ba4c..78f5be01b0 100644 --- a/packages/network/bluez/system.d/bluetooth.service +++ b/packages/network/bluez/system.d/bluetooth.service @@ -7,7 +7,7 @@ ConditionPathExists=/storage/.cache/services/bluez.conf [Service] NotifyAccess=main EnvironmentFile=/storage/.cache/services/bluez.conf -EnvironmentFile=-/run/openelec/debug.conf +EnvironmentFile=-/run/openelec/debug/bluez.conf ExecStart=/usr/lib/bluetooth/bluetoothd $BLUEZ_ARGS $BLUEZ_DEBUG CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW LimitNPROC=1 diff --git a/packages/network/bluez/system.d/obex-monitor.path b/packages/network/bluez/system.d/obex-monitor.path index 7bebb47f41..c12a3f4bb9 100644 --- a/packages/network/bluez/system.d/obex-monitor.path +++ b/packages/network/bluez/system.d/obex-monitor.path @@ -3,7 +3,7 @@ Description=OBEX configfile monitor [Path] PathModified=/storage/.cache/services/obexd.conf -PathModified=/run/openelec/debug.conf +PathModified=/run/openelec/debug/obexd.conf [Install] WantedBy=bluetooth.target diff --git a/packages/network/bluez/system.d/obex.service b/packages/network/bluez/system.d/obex.service index 5b18d3bbed..2ebffe880f 100644 --- a/packages/network/bluez/system.d/obex.service +++ b/packages/network/bluez/system.d/obex.service @@ -8,7 +8,7 @@ ConditionPathExists=/storage/.cache/services/bluez.conf [Service] EnvironmentFile=/storage/.cache/services/obexd.conf -EnvironmentFile=-/run/openelec/debug.conf +EnvironmentFile=-/run/openelec/debug/obexd.conf ExecStartPre=/bin/sh -c 'mkdir -p $OBEXD_ROOT' ExecStart=/usr/lib/bluetooth/obexd -r $OBEXD_ROOT $OBEXD_DEBUG