change the order services come up with dietpi-services


I want to use jackd as the audio source for darkice, capturing for icecast2.

Currently, services (attempt to) come up in this order:

  1. icecast2
  2. darkice
  3. jackd

The problem is that darkice needs jackd up first. How do I change the order “dietpi-services start” brings these services up?

  1. jackd
  2. icecast2
  3. darkice


by editing order with:

cp /DietPi/dietpi/dietpi-services /DietPi/dietpi/dietpi-services.bac

nano /DietPi/dietpi/dietpi-services