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?

  • 2
    Would this be a relevant answer? or are you looking for something more like this? – kemotep Apr 9 '19 at 19:22
  • 2
    In addition to @kemotep 's comment, you should review this. So in general, your "strategy" should be to use systemd, and learn how it works :) – Seamus Apr 9 '19 at 19:28
  • Yes, so this is would be a conglomerate of all three links. Systemd it is. – user77232 Apr 9 '19 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.