Jon Vaz
Jon Vaz

Reputation: 61

How to start WSO2 in back ground in Unix

How to start WSO2 API Manager in background? I start it by

$ sh wso2server.sh 

How to make it run in background so that it wont be stopped when I exit my putty terminal?

Upvotes: 1

Views: 912

Answers (4)

noob
noob

Reputation: 74

You can also use the nohup command to run the script as a background process.

 nohup ./wso2server.sh &

It would write all the logs you get on terminal to a file nohup.out in the same directory where you run your wso2server.sh script file.

Upvotes: 1

Abimaran Kugathasan
Abimaran Kugathasan

Reputation: 32468

Following will help you, It's similar to any other Linux scripts.

sh wso2server.sh start > /dev/null &

Additionally, you can start any WSO2 products as Linux services. Please refer documentation.

Upvotes: 0

Kamran
Kamran

Reputation: 1

You can use ./wso2server.sh start > /dev/null &

Upvotes: 0

AshwinK
AshwinK

Reputation: 1088

You can run the command ./wso2server.sh --start or ./wso2server.sh --stop

Upvotes: 0

Related Questions