2020-01-11 19:16:36 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Bluetooth Auth Agent
|
|
|
|
After=bluetooth.service
|
2022-03-23 19:58:30 +01:00
|
|
|
Requires=bluetooth.service
|
2020-01-11 19:16:36 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
ExecStartPre=/usr/bin/bt-adapter -s Powered on
|
|
|
|
ExecStartPre=/usr/bin/bt-adapter -s Discoverable on
|
|
|
|
ExecStart=/usr/bin/bt-agent -c NoInputNoOutput -p /etc/bluetooth/pin.conf
|
2022-03-23 19:58:30 +01:00
|
|
|
TimeoutStopSec=5
|
2020-01-11 19:16:36 +01:00
|
|
|
|
|
|
|
[Install]
|
2022-03-23 19:58:30 +01:00
|
|
|
WantedBy=multi-user.target
|