This might seem strange but i need to check this out. After all thats what linux is all about.
I have an application called OPMANAGER which is a network monitoring software and works well in linux.
Now, this appl uses JAVA, MYSQL and APACHE services. After the process starts it will automatically open a web browser like http://localhost:9090 the port where it is running and i wuld be able to go to the UI and monitor my devices and stuff.
Now, wht i want to do " from the terminal if i type 'opmanager' , it must automatically open the opmanager UI ( webpage ) if the app is running. If it is not running then, it it shoud automatically start the app and open up the webpage. "
Now, it has a scrip startopmanagerserver.sh and i must execute everytime to start the app.
How can i achieve this?
Any help is appreciated. :)