Run this script to start or stop TeamForge, or to get the status of the
application or a component.
Overview
You can use this script to start or stop the application as a whole or to start and
stop an individual service. You can also use it to determine the status of an
individual service.
Important: On production sites, this script must be invoked by the root
user.
Usage
Run this script as follows:
-
/opt/collabnet/teamforge/runtime/scripts/collabnet [--verbose|-V] [--service|-s serviceName]
<command>
For example, the following command checks the status of the
Jboss
component:
- /opt/collabnet/teamforge/runtime/scripts/collabnet -s jboss
status
Parameters
- Command
- Action to perform. The supported commands are:
- start
- Starts the application / service
- stop
- Stops the application / service
- status
- Provides the status of the service(s)
- restart
- Restarts the application / service
- help
- Prints this message and exits.
- -s | service serviceName
- Perform the command for the service serviceName
- verbose
- Print debug messages
- -q | --quiet
- -F | --force
- Force option to perform the specifed operation forcefully
- -S | --silent
- To perform the operation silently without providing the output
Logging
collabnet writes entries to the following logs:
-
log/runtime/service.log: The master service log.
-
log/{service}/service.log: Log entries from starting up
individual services end up in the service.log file of the
corresponding service log folder (e.g.
log/apps/service.log)