Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Run as Service on Bootup

Yannis edited this page Jun 15, 2017 · 1 revision

You can have Burro run as a service on Pi bootup. To do this, you'll need to create a new service file for Burro at /etc/systemd/system/:

sudo nano /etc/systemd/system/burro.service

Paste the following in the file. Note that you may need to change the path to the start.sh script, if you have installed Burro elsewhere in your SD card.

[Unit]
Description=Burro Autopilot
After=multi-user.target

[Service]
Type=idle
ExecStart=/home/pi/burro/burro/start.sh

[Install]
WantedBy=multi-user.target

Burro will start on next reboot automatically. You can start and stop the service as follows:

sudo systemctl start burro
sudo systemctl stop burro