bluez: fix OBEXD config paths

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-14 22:43:17 +02:00
parent 71d03713ab
commit d9b4e08c23
2 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Description=OBEX configfile monitor Description=OBEX configfile monitor
[Path] [Path]
PathModified=/storage/.cache/services/obex.conf PathModified=/storage/.cache/services/obexd.conf
PathModified=/run/openelec/debug.conf PathModified=/run/openelec/debug.conf
[Install] [Install]

View File

@ -3,13 +3,14 @@ Description=Bluetooth service
Requires=bluetooth.target bluetooth.service Requires=bluetooth.target bluetooth.service
After=bluetooth.service After=bluetooth.service
ConditionPathExists=/storage/.cache/services/obex.conf ConditionPathExists=/storage/.cache/services/obexd.conf
ConditionPathExists=/storage/.cache/services/bluez.conf ConditionPathExists=/storage/.cache/services/bluez.conf
[Service] [Service]
EnvironmentFile=/storage/.cache/services/obex.conf EnvironmentFile=/storage/.cache/services/obexd.conf
EnvironmentFile=-/run/openelec/debug.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] [Install]
WantedBy=bluetooth.target WantedBy=bluetooth.target