distribution/packages/network/bluez/system.d/obex.service

18 lines
495 B
SYSTEMD
Raw Normal View History

2022-02-05 14:23:32 +00:00
[Unit]
Description=Bluetooth service
Requires=bluetooth.target bluetooth.service
After=bluetooth.service
ConditionPathExists=/storage/.cache/services/obexd.conf
ConditionPathExists=/storage/.cache/services/bluez.conf
[Service]
EnvironmentFile=/storage/.cache/services/obexd.conf
EnvironmentFile=-/run/libreelec/debug/obexd.conf
ExecStartPre=/bin/sh -c 'mkdir -p $OBEXD_ROOT'
ExecStart=/usr/lib/bluetooth/obexd -r $OBEXD_ROOT $OBEXD_DEBUG
TimeoutStopSec=1s
[Install]
WantedBy=bluetooth.target