summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.py7
-rw-r--r--manpages/challenger-dbconfig.1.rst61
2 files changed, 68 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index 8f14d489..d6bcb421 100644
--- a/conf.py
+++ b/conf.py
@@ -526,6 +526,13 @@ man_pages = [
1,
),
(
+ "manpages/challenger-dbconfig.1",
+ "challenger-dbconfig",
+ "configure challenger database",
+ "GNU Taler contributors",
+ 1,
+ ),
+ (
"manpages/taler-exchange-dbinit.1",
"taler-exchange-dbinit",
"initialize Taler exchange database",
diff --git a/manpages/challenger-dbconfig.1.rst b/manpages/challenger-dbconfig.1.rst
new file mode 100644
index 00000000..da69eeaf
--- /dev/null
+++ b/manpages/challenger-dbconfig.1.rst
@@ -0,0 +1,61 @@
+challenger-dbconfig(1)
+######################
+
+.. only:: html
+
+ Name
+ ====
+
+ **challenger-dbconfig** - configure challenger database
+
+
+Synopsis
+========
+
+**challenger-dbconfig**
+[**-c** *FILENAME*]
+[**-h**]
+[**-n** *NAME*]
+[**-r**]
+[**-s**]
+[**-u** *USER*]
+
+Description
+===========
+
+**challenger-dbconfig** is a simple shell script that configures
+a Postgresql database for use by ``challenger-httpd``.
+
+Its options are as follows:
+
+**-c** *FILENAME*
+ Write the database configuration to FILENAME. The tool
+ will append the required ``CONFIG`` option for the
+ Postgresql access to the respective file.
+
+**-h**
+ Print short help on options.
+
+**-n** *DBNAME*
+ Use DBNAME for the name of the created database.
+
+**-r**
+ Reset any existing database. Looses all existing data. DANGEROUS.
+
+**-s**
+ Skip database initialization. Useful if you want to run
+ ``challenger-dbinit`` manually.
+
+**-u** *USER*
+ Specifies the (main) challenger user that will access the database.
+
+See Also
+========
+
+challenger-dbinit(1), challenger.conf(5).
+
+Bugs
+====
+
+Report bugs by using https://bugs.taler.net or by sending electronic
+mail to <taler@gnu.org>.