aboutsummaryrefslogtreecommitdiff
path: root/local/services/bt-agent.service
blob: 379634e9f6ceb277deb6d59159620cd1ae5bedd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Bluetooth Agent
After=bluetooth.service
Requires=bluetooth.service

[Service]
Type=simple
ExecStartPre=bt-adapter --set Discoverable 1
#ExecStart=bt-agent -c NoInputNoOutput
ExecStart=bt-agent -p /etc/bluetooth/pins
## Restart the service each 60s
#WatchdogSec=60
#RestartSec=60
#Restart=always

[Install]
WantedBy=multi-user.target