mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
avahi: rework debugmode service
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3fadf67ad1
commit
46cd376423
1
packages/network/bluez/debug.d/bluez.conf
Normal file
1
packages/network/bluez/debug.d/bluez.conf
Normal file
@ -0,0 +1 @@
|
||||
BLUEZ_DEBUG="--debug"
|
1
packages/network/bluez/debug.d/obexd.conf
Normal file
1
packages/network/bluez/debug.d/obexd.conf
Normal file
@ -0,0 +1 @@
|
||||
OBEXD_DEBUG="--debug"
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user