Changes to btspeaker service and disabled by default

This commit is contained in:
j1nx 2022-03-23 19:58:30 +01:00
parent 59671b254e
commit fca27377b5
2 changed files with 4 additions and 2 deletions

View File

@ -1,13 +1,14 @@
[Unit]
Description=Bluetooth Auth Agent
After=bluetooth.service
PartOf=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=bluetooth.target
WantedBy=multi-user.target

View File

@ -29,3 +29,4 @@ disable snapclient.service
disable snapserver.service
disable spotifyd.service
disable nodered.service
disable btspeaker.service