1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-13 01:33:45 +01:00
OpenVoiceOS/buildroot-external/package/btspeaker/btspeaker.service

15 lines
342 B
Desktop File

[Unit]
Description=Bluetooth Auth Agent
After=bluetooth.service
Requires=bluetooth.service
[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
TimeoutStopSec=5
[Install]
WantedBy=multi-user.target