How can I get a service started right at the beginning of the systemd boot sequence? shortly after the kernel has finished?

At the moment all my costum services get started at the end of systemd boot sequence. But i need one service which toggles some LEDs just then when systemd begins.


  • Have you tried superuser.com/questions/544399/… – YoMismo Mar 18 '15 at 7:45
  • How much "at the beginning"? systemd parallelizes everything, so it has no notion of "the beginning". You only can specify the exact dependencies against other units and it will generate the required ordering by itself. – intelfx Mar 18 '15 at 7:55
  • my service just toggle some LEDs via a bash script to indicate that the system is still booting, so I assume there is no dependencies against other units. I don't specify after and before in the service file ist that right? – Oliver G. Mar 18 '15 at 8:05

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.