forked from zerebubuth/openstreetmap-cgimap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenstreetmap-cgimap.1
128 lines (127 loc) · 3.53 KB
/
openstreetmap-cgimap.1
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.TH OPENSTREETMAP-CGIMAP 1
.SH NAME
openstreetmap-cgimap \- FCGI version of the OpenStreetMap API
.SH SYNOPSIS
.B openstreetmap-cgimap
[
[\fB\-\-help]
[\fB\-\-daemon]
[\fB\-\-instances \fIINSTANCES\fR]
[\fB\-\-pidfile \fIPIDFILE\fR]
[\fB\-\-logfile \fILOGFILE\fR]
[\fB\-\-configfile \fICONFIGFILE\fR]
[\fB\-\-memcache \fISPEC\fR]
[\fB\-\-ratelimit \fILIMIT\fR]
[\fB\-\-moderator-ratelimit \fIMODERATOR_LIMIT\fR]
[\fB\-\-maxdebt \fIDEBT\fR]
[\fB\-\-moderator-maxdebt \fIMODERATOR_DEBT\fR]
[\fB\-\-port \fIPORT\fR]
[\fB\-\-socket \fISOCKET\fR]
] [
[\fB\-\-dbname \fIDBNAME\fR]
[\fB\-\-host \fIHOST\fR]
[\fB\-\-username \fIUSER\fR]
[\fB\-\-password \fIPASS\fR]
[\fB\-\-charset \fICHARSET\fR]
[\fB\-\-readonly\fR]
[\fB\-\-cachesize \fISIZE\fR]
[\fB\-\-dbport \fIPORT\fR]
] [
[\fB\-\-update\-dbname \fIUPDATEDBNAME\fR]
[\fB\-\-update\-host \fIUPDATEHOST\fR]
[\fB\-\-update\-username \fIUPDATEUSER\fR]
[\fB\-\-update\-password \fIUPDATEPASS\fR]
[\fB\-\-update\-charset \fIUPDATECHARSET\fR]
[\fB\-\-update\-dbport \fIUPDATEPORT\fR]
] [
[\fB\-\-file \fIFILE\fR]
]
.SH DESCRIPTION
.B openstreetmap-cgimap
a C++ implementation of parts of the OpenStreetMap API as an FCGI process.
.SH OPTIONS
.TP
.BR \-\-help
Display help message and exit.
.TP
.BR \-\-daemon
Run as a daemon.
.TP
.BR \-\-instances =\fIINSTANCES\fR
Number of daemon instances to run.
Default is 5.
.TP
.BR \-\-pidfile =\fIPIDFILE\fR
Write pid to \fIPIDFILE\fR.
.TP
.BR \-\-logfile =\fILOGFILE\fR
File to write log messages to.
.TP
.BR \-\-configfile =\fICONFIGFILE\fR
File to read configuration values from.
.TP
.BR \-\-memcache =\fISPEC\fR
Memcache server specification.
.TP
.BR \-\-ratelimit =\fILIMIT\fR
Average number of bytes/s to allow each client.
.TP
.BR \-\-moderator-ratelimit =\fIMODERATOR_LIMIT\fR
Average number of bytes/s to allow each moderator.
.TP
.BR \-\-maxdebt =\fIDEBT\fR
Maximum debt (in Mb) to allow each client before rate limiting.
.TP
.BR \-\-moderator-maxdebt =\fIMODERATOR_DEBT\fR
Maximum debt (in Mb) to allow each moderator before rate limiting.
.TP
.BR \-\-port =\fIPORT\fR
FCGI port number (e.g. 8000) to listen on. This option is for backwards compatibility, please use \-\-socket for new configurations.
.TP
.BR \-\-socket =\fISOCKET\fR
FCGI port number (e.g. :8000) or UNIX socket to listen on.
.SS ApiDB backend options
.TP
.BR \-\-dbname =\fIDBNAME\fR
Database name.
.TP
.BR \-\-host =\fIHOST\fR
Database server host.
.TP
.BR \-\-username =\fIUSER\fR
Database user name.
.TP
.BR \-\-password =\fIPASS\fR
Database password.
.TP
.BR \-\-charset =\fICHARSET\fR
Database character set.
Default is utf8.
.TP
.BR \-\-readonly
Use the database in read-only mode.
.TP
.BR \-\-cachesize =\fISIZE\fR
Maximum size of changeset cache.
Default is 1000.
.TP
.BR \-\-dbport =\fIPORT\fR
Database port number or UNIX socket file name.
.TP
.BR \-\-update\-dbname =\fIUPDATEDBNAME\fR
Database name to use for API write operations, if different from \-\-dbname.
.TP
.BR \-\-update\-host =\fIUPDATEHOST\fR
Database server host to use for API write operations, if different from \-\-host.
.TP
.BR \-\-update\-username =\fIUPDATEUSER\fR
Database user name to use for API write operations, if different from \-\-username.
.TP
.BR \-\-update\-password =\fIUPDATEPASS\fR
Database password to use for API write operations, if different from \-\-password.
.TP
.BR \-\-update\-charset =\fIUPDATECHARSET\fR
Database character set to use for API write operations, if different from \-\-charset.
.TP
.BR \-\-update\-dbport =\fIUPDATEPORT\fR
Database port number or UNIX socket file name to use for API write operations, if different from \-\-dbport.