mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
bluez: fix OBEXD config paths
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Description=OBEX configfile monitor
|
||||
|
||||
[Path]
|
||||
PathModified=/storage/.cache/services/obex.conf
|
||||
PathModified=/storage/.cache/services/obexd.conf
|
||||
PathModified=/run/openelec/debug.conf
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -3,13 +3,14 @@ Description=Bluetooth service
|
||||
Requires=bluetooth.target bluetooth.service
|
||||
After=bluetooth.service
|
||||
|
||||
ConditionPathExists=/storage/.cache/services/obex.conf
|
||||
ConditionPathExists=/storage/.cache/services/obexd.conf
|
||||
ConditionPathExists=/storage/.cache/services/bluez.conf
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/storage/.cache/services/obex.conf
|
||||
EnvironmentFile=/storage/.cache/services/obexd.conf
|
||||
EnvironmentFile=-/run/openelec/debug.conf
|
||||
ExecStart=/usr/lib/bluetooth/obexd $OBEX_ARGS $OBEX_DEBUG
|
||||
ExecStartPre=/bin/sh -c 'mkdir -p $OBEXD_ROOT'
|
||||
ExecStart=/usr/lib/bluetooth/obexd -r $OBEXD_ROOT $OBEXD_DEBUG
|
||||
|
||||
[Install]
|
||||
WantedBy=bluetooth.target
|
||||
|
||||
Reference in New Issue
Block a user