![]() |
|
|
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 07:28 AM |
| nohup - help! | bluemoon1 | UNIX for Dummies Questions & Answers | 9 | 10-12-2007 12:49 AM |
| Help on nohup | bobbyjohnz | UNIX for Advanced & Expert Users | 3 | 10-18-2006 12:56 PM |
| nohup ( no log message) | mike1022 | Shell Programming and Scripting | 1 | 09-16-2006 09:55 PM |
| Nohup | miwinter | UNIX for Dummies Questions & Answers | 3 | 07-21-2006 06: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. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|