Run script at beagle bone start


#1

Hi, i am tying to run an script on the start, i have put my code on rc.local but doesnt work, where i need to put it?

Thanks!


#2

Hey @galminana you should be able to add it to your CMD line in your Dockerfile to run a program/script on container start.


#3

Besides using a script, you can also try enabling systemd (if you are on Debian), and starting your script as a systemd service file:

This project shows both how to do a start script (called start.sh, for example) and a systemd service.

Does this help? :slight_smile: