07-07-2013, 11:00 PM
Based on this I think you are after whats called "Screen", it keeps your processes on centos running even when you shut down your computer, so your server will never go down even when you exit PuTTY. All you have to do is type, "Screen" and run your services in "screen" but follow the link below and install it, you will also find commands on bottom.
Here is the link how to install it. 2
i guess chevell answers is more accurate for your need... once chevell posted this i thought that i didnt understand your first question, and i was giving you just the startservice.sh you asked, and not solving your problem. im sorry for leading you in the wrong way. Screen is actually what you are looking for. Great work chevell, and thanks for correcting me,

