![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nohup.out | ramky79 | AIX | 5 | 10-23-2007 06:28 AM |
| nohup - help! | bluemoon1 | UNIX for Dummies Questions & Answers | 9 | 10-11-2007 11:49 PM |
| Help on nohup | bobbyjohnz | UNIX for Advanced & Expert Users | 3 | 10-18-2006 11:56 AM |
| nohup ( no log message) | mike1022 | Shell Programming and Scripting | 1 | 09-16-2006 08:55 PM |
| Nohup | miwinter | UNIX for Dummies Questions & Answers | 3 | 07-21-2006 05:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
nohup within a pipe
Dear,
I have a script to start tomcat. I post here the main part of that script - called mytomcat.bash Code:
function start()
{
shift
trap "" HUP
/usr/local/java/bin/java [some_options] \ org.apache.catalina.startup.Bootstrap "$@" start 2>&1 | /usr/local/httpd/bin/rotatelogs /usr/local/catalina/logs/catalina.log 86400 &
}
Code:
./mytomcat.bash start I tried with nohup like this: Code:
nohup ./mytomcat.bash start & But I want to use nohup inside my script, I tested with this: Code:
nohup /usr/local/java/bin/java [some_options] \ org.apache.catalina.startup.Bootstrap "$@" start 2>&1 | /usr/local/httpd/bin/rotatelogs /usr/local/catalina/logs/catalina.log 86400 & Anyone can help? Thank you. |
|
||||
|
fongthai,
Do not bump your thread to the top without reason - Everybody wants to get their thread seen and the forums do move quickly but please don't bump your thread to the top of the forum for no reason as it pushes other peoples threads off the board unfairly. You can bump your thread if you are adding new information (more than a single line) or if you are adding another mod to the collection. Bumps solely for the purpose of moving the thread to the top of the page are not allowed. Regards |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|