Customizing Web Control Center on Mac OS X
You can customize some parameters, such as the default port, for the Harmony Web Control Center service.
- Stop the service if it is active—see Customizing Web Control Center on Mac OS X.
- Edit the
webcc.shfile located the following location:
/Applications/Toon BoomHarmony 14.0 [edition]/tba/macosx/bin
- For example, after the last character, change the default port to 8081:
# Script to start Harmony Web Control Center server
./bin_3rdParty/node ../../cloud/server/app.js "$@" -port 8081
The customizable parameters are:
|-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.|
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.|
- Save and close the file.
- Start the service—see Customizing Web Control Center on Mac OS X.