mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 16:24:28 +08:00
5bcce2ce59
This adds support for installing systemd bluetooth-mesh service unit and D-Bus service file that references this systemd unit.
19 lines
345 B
SYSTEMD
19 lines
345 B
SYSTEMD
[Unit]
|
|
Description=Bluetooth mesh service
|
|
ConditionPathIsDirectory=/sys/class/bluetooth
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.bluez.mesh
|
|
ExecStart=@pkglibexecdir@/bluetooth-meshd
|
|
NotifyAccess=main
|
|
LimitNPROC=1
|
|
ProtectHome=true
|
|
ProtectSystem=full
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=bluetooth.target
|
|
Alias=dbus-org.bluez.mesh.service
|