summaryrefslogtreecommitdiff
path: root/doc/anastasis-dbconfig.1
blob: a739c7d58bf1ff185be8ff54572cb61db991838f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "ANASTASIS-DBCONFIG" "1" "Sep 08, 2023" "0.0" "Anastasis"
.SH NAME
anastasis-dbconfig \- configure Anastasis database
.SH SYNOPSIS
.sp
\fBanastasis\-dbconfig\fP
[\fB\-c\fP\ \fIFILENAME\fP\ \fI]
[*\fP\-h**]
[\fB\-n\fP\ \fINAME\fP\ \fI]
[*\fP\-r**]
[\fB\-s\fP]
[\fB\-u\fP\ \fIUSER\fP\ 
.nf
*
.fi
]
.SH DESCRIPTION
.sp
\fBanastasis\-dbconfig\fP is a simple shell script that configures
a Postgresql database for use by the GNU Anastasis servers.
.sp
Its options are as follows:
.INDENT 0.0
.TP
\fB\-c\fP \fIFILENAME\fP
Write the database configuration to FILENAME. The tool
will append the required \fBCONFIG\fP option for the
Postgresql access to the respective file.
.TP
\fB\-h\fP
Print short help on options.
.TP
\fB\-n\fP \fIDBNAME\fP
Use DBNAME for the name of the created database.
.TP
\fB\-r\fP
Reset any existing database. Looses all existing data. DANGEROUS.
.TP
\fB\-s\fP
Skip database initialization. Useful if you want to run
\fBanastasis\-dbinit\fP manually.
.TP
\fB\-u\fP \fIUSER\fP
Specifies the (main) Anastasis user that will access the database.
.UNINDENT
.SH SEE ALSO
.sp
anastassis\-dbinit(1), anastasis.conf(5).
.SH BUGS
.sp
Report bugs by using \fI\%https://bugs.taler.net\fP or by sending electronic
mail to <\fI\%taler@gnu.org\fP>.
.SH AUTHOR
Anastasis SARL
.SH COPYRIGHT
2020-2021 Anastasis SARL (AGPLv3+ or GFDL 1.3+)
.\" Generated by docutils manpage writer.
.