Reputation: 61
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
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
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
Reputation: 1088
You can run the command ./wso2server.sh --start
or ./wso2server.sh --stop
Upvotes: 0