CONFIG

Since 1.1.0Server

Syntax

CONFIG
  • Flags: admin
  • ACL categories: @admin, @dangerous, @server, @slow
  • Arity: -2

Reads and changes the server's settings at runtime. See its subcommands, and Configuration for every setting.

Subcommands

  • CONFIG GET: Returns the settings whose names match a glob-style pattern, * for all, as name-value pairs.
  • CONFIG HELP: Lists the CONFIG subcommands and what each does.
  • CONFIG RESETSTAT: Resets the statistics INFO reports: commands' counts and times, error counts, and connection and network totals.
  • CONFIG REWRITE: Writes the current settings to the configuration file the server was started with, /etc/kividb/kividb.conf by default, creating it and its directory if needed.
  • CONFIG SET: Changes settings, all or none of them: a value out of range, a setting that cannot change at runtime, or one named twice makes it an error that names it, and nothing changes.