Browse Source

r1096@denkpolster: jan | 2008-04-05 20:28:56 +0200

provide a useable gva.cfg.tmpl
  * add all required parameters to gva.cfg.tmpl and document them (fixes #12)
  * set a usable database url in defaults.cfg


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@252 a67ec6bc-e5d5-0310-a910-815c51eb3124
master
Jan Dittberner 14 years ago
parent
commit
44b5f81c45
  1. 4
      gnuviechadmin/defaults.cfg
  2. 54
      gnuviechadmin/gva.cfg.tmpl

4
gnuviechadmin/defaults.cfg

@ -1,4 +1,4 @@
# Copyright (C) 2007 by Jan Dittberner.
# Copyright (C) 2007, 2008 by Jan Dittberner.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -29,7 +29,7 @@
# sqlalchemy. The default is an sqlite in memory database which is not
# very usable for a real installation.
#
uri = sqlite:///:memory:
uri = sqlite:////etc/gnuviechadmin/gva.db
repository = /etc/gnuviechadmin/dbrepo
[common]

54
gnuviechadmin/gva.cfg.tmpl

@ -1,4 +1,3 @@
# -*- python -*-
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007, 2008 by Jan Dittberner.
@ -21,8 +20,61 @@
# Version: $Id$
[database]
# This section contains database related configuration parameters.
#
# The database connection string in a format usable for
# sqlalchemy. For examples see
# http://www.sqlalchemy.org/docs/dbengine.myt
#
uri = sqlite:///database.txt
#
# The path to the sqlalchemy-migrate database repository
#repository = /etc/gnuviechadmin/dbrepo
[common]
# This section contains common configuration parameters.
#
# Wrapper to execute commands with superuser (root) privileges
#suwrapper = sudo
#
# Directory to store backup data to
#backupdir = /var/backups/gnuviechadmin
#
# Directory where the Gnuviech Admin templates are stored
#templatedir = /etc/gnuviechadmin/templates
#
# Logging configuration file
#log.cfg = /etc/gnuviechadmin/logging.cfg
#
# Default country code to use for new clients when country is not specified
#defaultcountry = de
#
# Mail sender address for mails sent out by Gnuviech Admin. This
# address is used to find the GnuPG signing key too.
#mailfrom = gva@example.org
#
# Mail recipient address for mails sent out by Gnuviech Admin. This
# address is used to find the GnuPG encryption key too.
#mailto = admin@example.org
[domain]
# This section contains various configuration parameters for domain
# creation.
#
# Default primary nameserver name
#defaultns1 = ns1.example.org
#
# Default secondary nameserver name
#defaultns2 = ns2.example.org
#
# Default mail exchanger hostname
#defaultmx = mail.example.org
#
# Default ip address
#defaultip = 127.0.0.1
#
# Default hostmaster address for SOA records (the first dot is equal
# to an at sign in a normal email address. So if your hostmaster has
# the address hostmaster@example.org the value for defaulthostmaster
# ist hostmaster.example.org)
#defaulthostmaster = hostmaster.example.org

Loading…
Cancel
Save