I am writing a custom application on Debian on a beaglebone black variant. I want to have my application be the first service that gets started when the system boots, and I want the system to wait until my application gives the all clear (is finished initializing) before it starts any other services within reason. I would want it to start after the file system but before networking for example.
What strategy can I use to achieve this?
systemd, and learn how it works :)