obex.service 495 B

1234567891011121314151617
  1. [Unit]
  2. Description=Bluetooth service
  3. Requires=bluetooth.target bluetooth.service
  4. After=bluetooth.service
  5. ConditionPathExists=/storage/.cache/services/obexd.conf
  6. ConditionPathExists=/storage/.cache/services/bluez.conf
  7. [Service]
  8. EnvironmentFile=/storage/.cache/services/obexd.conf
  9. EnvironmentFile=-/run/libreelec/debug/obexd.conf
  10. ExecStartPre=/bin/sh -c 'mkdir -p $OBEXD_ROOT'
  11. ExecStart=/usr/lib/bluetooth/obexd -r $OBEXD_ROOT $OBEXD_DEBUG
  12. TimeoutStopSec=1s
  13. [Install]
  14. WantedBy=bluetooth.target