On Sat, 26 Nov 2022 06:40:24 -0500
Amn Ojee Uw <amnoje...@gmail.com> wrote:

> If from the command prompt or a shell script, I run this code sudo 
> '/opt/tomcat/bin/catalina.sh run', Tomcat runs nicely, but it grabs
> the Terminal, if I close the Terminal, Tomcat just stops working.
> Obviously not a perfect solution.

The solution to that is to put the Tomcat instance into the background
by appending an ampersand to the command, like so:

/opt/tomcat/bin/catalina.sh run &

In Windows, the ampersand is unnecessary; programs go into the
background according to the type of program they are. In Unix, one must
specify.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to