Files
Arch-R/packages/network/bluez/system.d/bluetooth.service
2016-04-21 22:08:52 +02:00

21 lines
505 B
Desktop File

[Unit]
Description=Bluetooth service
Requires=bluetooth.target
ConditionPathExists=/storage/.cache/services/bluez.conf
[Service]
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
LimitNPROC=1
TimeoutStopSec=1s
Restart=on-failure
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=bluetooth.target