I need to re-order init scripts, particularly so that some of my own will run before certain others. What documentation should I be looking at for thorough information on how that is done (aside from the effects of the changes).
This is in a cloud environment using the cloud-images tree, with cloud-init in the mix. Things I want to do include:
I'm running into issues like Postgresql is NOT shutting down because the mount points are re-arranged such that its current directory is no longer available (don't focus on Postgresql ... this is only an example ... programs starting too soon is the general problem).
I'm looking for the "how to do this" documentation first. If you are inclined to tell me all about how to do this, it might be better to write a wiki page for that.
This is in a cloud environment using the cloud-images tree, with cloud-init in the mix. Things I want to do include:
- set the host name before most things start
- configure ntpd.conf before NTP starts (is based on which instance it is)
- re-arrange the file tree layout before most things start
I'm running into issues like Postgresql is NOT shutting down because the mount points are re-arranged such that its current directory is no longer available (don't focus on Postgresql ... this is only an example ... programs starting too soon is the general problem).
I'm looking for the "how to do this" documentation first. If you are inclined to tell me all about how to do this, it might be better to write a wiki page for that.