Run script at beagle bone start


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?



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


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, for example) and a systemd service.

Does this help? :slight_smile: