Unix/Linux startup scripts
Gurus,
Can someone provide a sample *NIX start script for Tomcat and/or Windchill? We followed a Suggested Technique or something I found (sorry, lost the reference) for scripts to put in the init.d folder, using the 'nohup' prefix to launch. If we run the scripts, we get terminal windows opening up for Tomcat, ServerManager and the MethodServer. Then when we log out, the windows close and these services die.
Here is a code snippet:
cmdtext="starting"
echo "tomcat $cmdtext."
status=`nohup $CATALINA_HOME/bin/wttomcat_start $2>&1`
Do we need to set the DISPLAY variable to null to force output from these scripts to go to the log files? Should we be running the actual start command as a background job?
Appreciate any and all suggestions to resolve this.
Mark Plimley NxRev, Inc.
PLM Implementer/Trainer

