Customizing Web Control Center on Linux
You can customize some parameters, such as the default port, for the Harmony Web Control Center service.
How to customize the HarmonyWeb Control Center Service
- Stop the service if it is active—see Customizing Web Control Center on Linux.
- As the root user, open the following file:
/usr/local/ToonBoomAnimation/harmony[edition]_14/lnx86_64/bin/webcc.sh
- For example, after the last character, change the default port to 8081:
#!/bin/sh -f
# Script to start Harmony Web Control Center server
DIRNAME=$(dirname "$0")
cd "$DIRNAME"
./bin_3rdParty/node ../../cloud/server/app.js "$@" -port 8081
The customizable parameters are:
Parameter | Description |
-numWorkers n | Number of processes to service client requests. Default is number of CPU cores. Set to 0 to disable worker child processes. If the number of CPUs is high, performance could be impacted on all processes running on the server. If server is mostly for Web Control Center, increase the number for better performance. |
-noAuth | Disables basic login/authorization verifications with the user database. Default: authorization enabled. |
- port port |
The port to which HarmonyWeb Control Center is deployed. Default: 8080. |
-http port |
Enables http protocol on specified port (can be used along with https to enable both). Default: http enabled unless -https is also enabled. |
-exchange loc | Location (on disk) of top-level file exchange folder. Default: /USA_DB/exchange |
-cacheDuration s | Number of seconds to keep data in cache. Default 3600. 0-> disable cache, 1-999999-> number of seconds to keep data in cache. |
-allowAllOrigin | Enables webcc web service from all sources (enable cross-origin resource sharing). Default: Disabled. |
-disableAnalytics | Disables Google Analytics tracking for all clients. Default: Enabled. |
Options Related to SSL Server | |
-https [port] | Enables https protocol on port 8443, unless a port override is provided. Default: Disabled. |
-key key | <filename> the private key for the SSL session (works with -cert). Default: None. |
-cert cert | <filename> the certificate filename for the SSL session (works with -key). Default: None. |
-pfx file | <filename> alternate filename that includes both the private key and certificate for the SSL session. Default: None. |
IMPORTANT: If you want to use Web Control Center outside your facility, you must use the options related to SSL Server to secure your connection.
- Save and close the file.
- Start the service—see Customizing Web Control Center on Linux.