anastasis-config - manipulate Anastasis configuration files
anastasis-config [-b backend | ––supported-backend=backend] [-c filename | ––config=filename] [-f | ––filename] [-F | ––full] [-h | ––help] [-L loglevel | ––loglevel=loglevel] [-l filename | ––logfile=filename] [-o option | ––option=option] [-r | ––rewrite] [-S | ––list-sections] [-s section | ––section=section] [-V value | ––value=value] [-v | ––version]
anastasis-config can be used to read or modify Anastasis configuration files.
Tests whether the specified BACKEND is supported by the current installation. The backend must match the name of a plugin, i.e. “namestore_postgres” for the Postgres database backend of the “NAMESTORE” service. If BACKEND is supported, anastasis-config will return a status code of 0 (success), otherwise 77 (unsupported). When this option is specified, no other options may be specified. Specifying this option together with other options will cause anastasis-config to return a status code of 1 (error).
Use the configuration file FILENAME.
Try to perform expansions as if the option values represent filenames (will also be applied even if the option is not really a filename).
Write the full configuration file, not just the differences to the defaults.
Print short help on options.
Use LOGLEVEL for logging.
Valid values are DEBUG, INFO, WARNING, and ERROR.
Send logging output to FILENAME.
Which configuration option should be accessed or edited. Required to set a value. If not given, all values of a given section will be printed in the format “OPTION = VALUE”.
Write the configuration file even if nothing changed. Will remove all comments!
List available configuration sections for use with --section.
Which configuration section should be accessed or edited. Required option.
Configuration value to store in the given section under the given option.
Must only be given together with -s and -o options.
Changing the configuration file with -V will remove comments
and may reorder sections and remove @INLINE@ directives.
Print Anastasis version number.
anastasis.conf(5)
Report bugs by using https://bugs.anastasis.lu or by sending electronic mail to <contact@anastasis.lu>.