starting .sh in background
I login to ssh to start my weblogic server ,
to start it in background I use /opt/............./startWeblogic.sh & will this start weblogic in background ? all the weblgoic output shows up in console ,and sometimes when I disconnect ssh weblogic alos stops , what is the right way to start any sh in background so that even if I disconnect from linux the process should be running . |
well the weblogic start script should complete normally, you shouldn't be backgrounding it. The script starts the jvm's and exits. So once it's exited, you should have no problem closing SSH. Does the script not terminate itself?
|
Code:
nohup startWeblogic.sh &> Weblogic.out & |
Quote:
I don't want to create new .out files every time I restart server |
Then send the output to /dev/null but one day you may want to examine that output to investigate a problem.
|
All times are GMT -5. The time now is 03:17 AM. |