This command runs an instance in the background as a service or daemon.
Using the start command
The start command is one of the most important features of Tanzu tc Server. This command will start an instance managed by tc-server-11.0.
Basic Usage
The start
command takes the name of a tc Runtime instance with optional parameters. In the following example the name of the instance is “example”
Deleting the work
directory
After a tc Runtime upgrade or an application redeployment it may be necessary to delete the work
directory of an instance. The start
command has an optional parameter to do this.
A common request is to “delete the tomcat work directory” which this argument handles for the user.
Delete the logs
directory
Deleting the logs directory can be useful at times. There is an optional parameter availble to do this before starting a tc Runtime instance.
Adding an additional delay before checking status
There is a 2 second wait by default after tc-server-11.0 starts an tc Runtime instance to check if it is running. On some systems or with some configurations this time may need to be longer. It can be adjusted with the --wait
parameter.
Content feedback and comments