Score:0

how to start the linux tomcat on nohup mode on jenkins

sc flag

I used below command in jenkins, After execute this command, It shows that tomcat is started but tomcat is not started

#!/bin/bash

TOMCAT_HOME=/home/apache-tomcat

nohup $TOMCAT_HOME/bin/startup.sh &

I need run tomcat in nohup mode on linux machine with Jenkins

Score:0
ws flag

I don't know what you mean by "nohup mode". Starting a service directly from the shell like this is always a bad idea. Use a systemd unit file or Sysv Init script.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.