Bb Ai autorun

Hi to everyone, I'm a newbie in Linux and I need some help to make the beaglebone Ai autorun a Csound instance at startup (headless). None of the tutorials of the BBB nor the usual debian autorun practices (from web tutorials) has worked for me!
Some help would be greatly appreciated!

I would creare a systemd service. Here is an article explaining how https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6. If you only want it to run once, set restart to never.

Hi Nikolas, many thanks for your help, I will try it next holidays days.... Just a question, how can I figure out what is the last service after that I can call mine in the AFTER= ?
Kind regards and have a good Christmas time!