namespace:page
Setting up Bela
Some notes on setting Bela to use a program in the background.
https://learn.bela.io/using-bela/bela-techniques/running-a-program-as-a-service/
Create new file
Adafruit_TSC2007-OSC.service
Then move it
mv /root/Bela/projects/Adafruit_TSC2007-OSC/Adafruit_TSC2007-OSC.service /lib/systemd/system/
I should be able to start it by using.
systemctl start Adafruit_TSC2007-OSC
systemctl stop Adafruit_TSC2007-OSC
Running at boot
Once you are happy with how this is working, you can enable the EXEC_NAME service to start automatically in the background at boot with
systemctl enable Adafruit_TSC2007-OSC
systemctl start Adafruit_TSC2007-OSC
Later you can disable it with systemctl disable Adafruit_TSC2007-OSC
namespace/page.txt · Last modified: 2024/11/26 20:48 by simon