View previous topic :: View next topic |
Author |
Message |
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Wed Sep 07, 2005 4:27 pm Post subject: Is it possible to control the order of service start-up? |
|
|
At boot-up, I've got ntp-client starting up way before adsl-start, so it barfs at not being able to resolve the host name of the time server (naturally) and after I log in and do an rc-status it shows me that /etc/init.d/ntp-client is [OFF].
Is there any way I can arrange the firing order so that ntp-client is the last thing that launches? |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Sep 07, 2005 4:42 pm Post subject: |
|
|
You could try to add in the depend() block in /etc/init.d/ntp-client.
The order the initscripts are executed is determined by the various "need", "use", and "after" flags. I remeber reading some documentation about that, but I can't remember where. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Oct 30, 2005 7:30 pm Post subject: |
|
|
Here's the initscript docs, and an ntp example. |
|
Back to top |
|
|
|