Skip to content

Commit

Permalink
Update 29_install_bluetooth.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Feb 10, 2025
1 parent 092d96f commit f84f407
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts.d/29_install_bluetooth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@ source lib.sh

cat << EOF > mnt/img_root/etc/systemd/system/rpibluetooth.service
[Unit]
Description=Bluetooth server
Description=Bluetooth Server
After=bluetooth.service
Requires=rpibluetooth.service bluetooth.service
Requires=bluetooth.service
StartLimitIntervalSec=500
StartLimitBurst=5
[Service]
ExecStart=/usr/bin/python3 /usr/local/bin/bluetooth-server.py
Restart=always
RestartSec=5s
ExecStart=/usr/bin/python3 /usr/local/bin/bluetooth-server.py &
[Install]
WantedBy=multi-user.target
EOF
Expand Down

0 comments on commit f84f407

Please sign in to comment.