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

25 lines
630 B
SYSTEMD
Raw Normal View History

2022-02-05 14:23:32 +00:00
[Unit]
Description=Bluetooth service
After=syslog.target bluetooth-defaults.service
Requires=bluetooth-defaults.service
ConditionPathExists=/storage/.cache/services/bluez.conf
[Service]
2022-03-19 02:16:23 +00:00
Type=dbus
BusName=org.bluez
2022-02-05 14:23:32 +00:00
NotifyAccess=main
EnvironmentFile=/storage/.cache/services/bluez.conf
EnvironmentFile=-/run/libreelec/debug/bluez.conf
ExecStart=/usr/lib/bluetooth/bluetoothd $BLUEZ_ARGS $BLUEZ_DEBUG
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_FOWNER
2022-02-05 14:23:32 +00:00
LimitNPROC=1
TimeoutStopSec=1s
Restart=on-failure
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=bluetooth.target
2022-03-19 02:16:23 +00:00
Alias=dbus-org.bluez.service