![]() |
How to auto-start the processes one after another is started?
I have two script under /etc/init.d/ 'jboss' and 'client'. By machine-reboot these two scripts will be run.
But what I want now is: The 'client' can only be run after the 'jboss' is successfully up. How to do? Regards Thomas |
rename the client script to zzclient (or any letter that comes after j), I believe they are processed in alphabetical order.
|
Quote:
|
Quote:
And you appear to be lazy when you type "U" instead of "you". Please spell your words properly. But bash has the && operator: Code:
#!/bin/bashSo maybe use that. |
Quote:
|
| All times are GMT -5. The time now is 02:22 AM. |