Add a configuration example.
This commit is contained in:
parent
754b641adc
commit
88b6ae7ce3
47
configuration-example.yml
Normal file
47
configuration-example.yml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Configuration to put in ~/.config/baguette/dnsmanager.yml or in /etc/baguette/dnsmanager.yml
|
||||||
|
|
||||||
|
# `dnsmanagerd` needs to connect itself to authd(1) with an admin account to then authenticate its users.
|
||||||
|
# login: dnsmanager
|
||||||
|
pass: secret
|
||||||
|
|
||||||
|
# Does symlinks have to be recreated each time the app starts?
|
||||||
|
#recreate_indexes: false
|
||||||
|
|
||||||
|
# Path to the database.
|
||||||
|
storage_directory: /var/dnsmanager/db
|
||||||
|
|
||||||
|
# New domains require to load a template so users won't have to enter
|
||||||
|
# some necessary entries themselves. For example, SOA and NS RRs are
|
||||||
|
# pre-loaded and updated by an administrator when required.
|
||||||
|
# See tools/write-template-zone-file.cr
|
||||||
|
#template_directory: /etc/dnsmanager/templates
|
||||||
|
|
||||||
|
# Accepted domains, they all must have a template in `template_directory`.
|
||||||
|
accepted_domains:
|
||||||
|
- netlib.re
|
||||||
|
- codelib.re
|
||||||
|
- example.com
|
||||||
|
|
||||||
|
# IPC wake-up timer, see libipc(7).
|
||||||
|
#ipc_timer: 30000 # 30 seconds
|
||||||
|
|
||||||
|
# Name of the `dnsmanagerd` IPC service.
|
||||||
|
#service_name: dnsmanager
|
||||||
|
|
||||||
|
#
|
||||||
|
# Verbosity-related variables.
|
||||||
|
#
|
||||||
|
|
||||||
|
#verbosity: 4 # [0-4], “0” being quiet and “4” meaning printing debug values
|
||||||
|
|
||||||
|
# IPC-related variables. By default, only print errors and exceptions.
|
||||||
|
#print_ipc_timer: false
|
||||||
|
#print_ipc_connection: false
|
||||||
|
#print_ipc_disconnection: false
|
||||||
|
#print_ipc_extra_socket: false
|
||||||
|
#print_ipc_message_received: false
|
||||||
|
#print_ipc_message_sent: false
|
||||||
|
#print_ipc_switch: false
|
||||||
|
#print_ipc_error: true
|
||||||
|
#print_ipc_exception: true
|
||||||
|
#print_keepalive: false
|
Loading…
Reference in New Issue
Block a user