Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Im configuring Hudson to automate deployment process. In shell script I start the server using different user and Im able to see the logs which says server is successfully started and able to access the application. But Once Hudson reaches end of the script the process killed.

When I check process details, till the shell script complete, the process alive. Once the shell script is complete the process is not there.

Can you please help me how to keep the process alive even after shell script execution is completed by Hudson

Resolved by the trick mentioned in http://stackoverflow.com/questions/5728899/tomcat-script-not-working-when-run-from-hudson

share|improve this question
Resolved by the trick mentioned in stackoverflow.com/questions/5728899/… –  Selvakumar P Apr 30 '13 at 6:06
add comment

1 Answer 1

Can you provide the script?

Have you tried simply appending & to the server start command to background it?

share|improve this answer
Thanks !!! I tried with nohup but no luck, Resolved this issue by solution given in stackoverflow.com/questions/5728899/… –  Selvakumar P Apr 30 '13 at 3:46
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.