Configuration
SignalSQL is configured by a config file written during installation. Every option has a default, so an out-of-the-box install already runs; edit the file to tune it to your setup.
The config file
Installation writes a default config file:
- Linux:
/etc/opt/signalsql/signalsql.conf - Windows:
C:\ProgramData\Centlake\SignalSQL\etc\signalsql.conf
Lines starting with # are comments. Any option that is not set falls back to
its default value.
[Server] section
Parameters for the SignalSQL server.
| Name | Description | Default |
|---|---|---|
Listen | Interfaces SignalSQL listens on. 127.0.0.1 = local machine only; 0.0.0.0 = all interfaces. The DEB/RPM/MSI packages ship with 127.0.0.1 (local only). | 127.0.0.1 |
Port | TCP port for MySQL-protocol clients. | 3308 |
DriverPort | TCP loopback port that out-of-process drivers connect on. Set 0 to have the OS assign a free port (useful when running several instances). | 3310 |
DriverPing | How often (ms) the engine pings each connected driver for liveness. | 5000 |
DriverDead | How long (ms) a driver may go silent before it is reaped. | 20000 |
Data directory
SignalSQL keeps its database files in a data directory chosen at install time
(overridable with the -d flag — see below), not through the config file:
- Linux:
/var/opt/signalsql/data - Windows:
C:\ProgramData\Centlake\SignalSQL\data
Commercial license
Your Supported license is a single signed text block — copy it from your
dashboard (or the email we sent) and save it as signalsql.lic
next to the config file:
- Linux:
/etc/opt/signalsql/signalsql.lic - Windows:
C:\ProgramData\Centlake\SignalSQL\etc\signalsql.lic
The file is the license exactly as issued — a block that begins with
-----BEGIN SIGNALSQL LICENSE----- and ends with -----END SIGNALSQL LICENSE-----.
Everything SignalSQL needs — the licensed e-mail, tier, and version — is contained
and signed inside it, so there is nothing else to configure. SignalSQL reads the
file at startup, so restart the service after adding or replacing it.
[Driver <name>] sections
Each out-of-process driver gets its own section, named [Driver <name>], that
tells SignalSQL what to launch:
[Driver relays]
Exec = serialdrv
Args = --config relayboard.conf
Enabled = true
Exec is the driver executable — a bare name (no path) is found next to the
engine binary in bin/, so a shipped driver like serialdrv needs no path.
Args are extra command-line arguments; because the driver runs in the config
file’s directory, a relative --config relayboard.conf resolves next to
signalsql.conf. Enabled (default true) can be set to false to declare a
driver without starting it. See Custom hardware: out-of-process
drivers.
Exposing on the network
A fresh install listens on port 3308 on the local machine only — the
DEB/RPM/MSI packages ship with Listen = 127.0.0.1. To accept connections from
other machines, set Listen = 0.0.0.0. To move it to another port, set Port.
SignalSQL does not currently support TLS, and credentials are only weakly scrambled on the wire. Only expose it on a trusted network, and consider a firewall or VPN in front of the port. See Limitations.
Running as a service
The installer registers SignalSQL as a service that starts automatically:
- Linux (systemd):
systemctl status signalsql,systemctl restart signalsql - Windows: manage the SignalSQL service from the Services console or
sc.
Advanced: running manually
For development or running multiple instances, signalsql accepts optional flags
that override the config-file defaults:
| Flag | Meaning |
|---|---|
-c | config file |
-d | data directory |
-i | init directory (the seed catalog used to bootstrap a fresh data directory) |
-p | SQL listen port (overrides Port) |
-dp | driver port (overrides DriverPort) |
-run | run in the foreground |
-stop | stop the instance using the same -d |