Listening to events from init.d scripts
Asked by
ArunNair
Hi - I'm in the process of migrating all our init.d scripts to upstart and was wondering if I had to migrate them all at once, or I can migrate them one at a time, using events from the existing init.d scripts in my new upstart event.d scripts.
Let me explain with an example. Say I have two scripts in init.d: mysql and superapp. The latter requires mysql so currently it's startup script is numbered higher than mysql in init.d.
I want to first migrate superapp to event.d but keep mysql in init.d. Is there someway I can get events in the superapp upstart script that indicates that the mysql service is "started" or "stopping"?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- upstart Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Caleb Callaway
- Solved:
- Last query:
- Last reply:
To post a message you must log in.