📃 Getting Dragit to Start Automatically (Optional) Copy | Betabox

📃 Getting Dragit to Start Automatically (Optional) Copy

To get Dragit running we are going to need to download a service file on GitHub. Service files are used by the Pi to manage which programs to start and maintain. Start by downloading:

git clone https://github.com/jmlannan/betabox-dragit-autostart

If you look in the folder you will see a dragit.service file.

cd betabox-dragit-autostart

ls

Now we need to copy the file into /etc/systemd/system. This is where the Pi stores its service files.

sudo cp dragit.service /etc/systemd/system/dragit.service

Once it’s copied we can enable the service so it will automatically start when the Pi is booted up.

sudo systemctl enable dragit

Now Dragit will start on reboot. To get it going use:

sudo systemctl start dragit

If you want to check on the status of the program you can use:

sudo systemctl status dragit

You should be ready to start Dragit with the IP address or hostname in the web browser using:

IPADDRESSORHOSTNAME:8000

and replacing IPADDRESSORHOSTNAME with your IP address or hostname.