Skip to content

Commit

Permalink
Restart bluetooth-agent on failure, fixes #16, #13
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokaiser committed Nov 5, 2019
1 parent e332f04 commit 7dfa90c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install-bluetooth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ Type=simple
ExecStartPre=/bin/hciconfig hci0 piscan
ExecStartPre=/bin/hciconfig hci0 sspmode 1
ExecStart=/usr/local/bin/bluetooth-agent
Restart=always
RestartSec=10
EOF
systemctl enable bluetooth-agent.service

Expand Down

0 comments on commit 7dfa90c

Please sign in to comment.