The configuration of WaTTS consists of one file. The file is located at
/etc/watts/watts.conf. One other location is supported for development purposes; in this case please place your configuration file as
The WaTTS is deployed with sane defaults, you only need to touch user-specific changes.
Each setting consists of one simple line of the format, comments are starting with '#'.
# this is a comment and ignoredkey = value
WaTTS provides a simple command to check the configuration file
run it after changing the configuration to ensure your configuration file is correct. If everything is fine it will print out a line telling you so:
config is OK
There are different datatypes used in the configuration, a detailed description can be seen in the following table.
the word itself is the value, without the '
a valid fully qualified hostname
an integer within the valid range for TCP ports
either 'true' or 'false'
an absolute path to a file
an absolute path to a directory
a timespan given by an integer and a unit, the unit can be ms, s, m, h
just the string value
an integer value, i.e. a number
a valid url, use https as much as possible
comma separated list
values separated by comma
depends on the usage and can't be specified