17
17
reports, and a NET-RPC and XML-RPC interface.
23
Print this help message and exit.
27
Print the program's version number and exit.
30
.B \-c \fIFILE\fB, \-\-config=\fIFILE\fB
31
Specify an alternate config file. By default, openerp server uses ~/.openerp_serverrc
35
Save the configuration to ~/.openerp_serverrc. By default, the options given on the command line are not saved.
38
.B \-p \fIPORT\fB, \-\-port=\fIPORT\fB
39
Specify the TCP port the server should use. By default, the server uses the port 8069.
42
.B \-\-interface=\fIINTERFACE\fB
43
Specify the network interface the server should be bound to. You probably want to set it to the IP address of the computer.
44
By default, the server is bound to 'localhost' and thus can only accept connections from clients on the same computer.
47
.B \-d \fIDATABASE\fB, --database=\fIDATABASE\fB
48
Specify the database name (default terp).
51
.B \-i \fIMODULE\fB, \-\-init=\fIMODULE\fB
52
Initialize a module (use "all" for all modules).
53
\fBWarning:\fR this will erase the data concerning that module!
56
.B \-u \fIMODULE\fB, \-\-update=\fIMODULE\fB
57
Update a module (use "all" for all modules).
60
.B \-\-price_accuracy=\fIPRICE_ACCURACY\fB
61
Specify the price accuracy.
22
show program's version number and exit
24
\fB\-h\fR, \fB\-\-help\fR
25
show this help message and exit
27
\fB\-c\fR CONFIG, \fB\-\-config\fR=\fICONFIG\fR
28
specify alternate config file
30
\fB\-s\fR, \fB\-\-save\fR
31
save configuration to ~/.openerp_serverrc
33
\fB\-\-pidfile\fR=\fIPIDFILE\fR
34
file where the server pid will be stored
36
\fB\-n\fR INTERFACE, \fB\-\-interface\fR=\fIINTERFACE\fR
37
specify the TCP IP address
39
\fB\-p\fR PORT, \fB\-\-port\fR=\fIPORT\fR
42
\fB\-\-net_interface\fR=\fINETINTERFACE\fR
43
specify the TCP IP address for netrpc
45
\fB\-\-net_port\fR=\fINETPORT\fR
46
specify the TCP port for netrpc
54
\fB\-i\fR INIT, \fB\-\-init\fR=\fIINIT\fR
55
init a module (use "all" for all modules)
57
\fB\-\-without\-demo\fR=\fIWITHOUT_DEMO\fR
58
load demo data for a module (use "all" for all
61
\fB\-u\fR UPDATE, \fB\-\-update\fR=\fIUPDATE\fR
62
update a module (use "all" for all modules)
64
\fB\-\-cache\-timeout\fR=\fICACHE_TIMEOUT\fR
65
set the timeout for the cache system
67
\fB\-\-stop\-after\-init\fR
68
stop the server after it initializes
73
\fB\-\-assert\-exit\-level\fR=\fIASSERT_EXIT_LEVEL\fR
74
specify the level at which a failed assertion will
75
stop the server. Accepted values: ['info',
76
\&'debug_rpc', 'warn', 'critical', 'error', 'debug',
81
\fB\-S\fR, \fB\-\-secure\fR
82
launch server over https instead of http
84
\fB\-\-cert\-file\fR=\fISECURE_CERT_FILE\fR
85
specify the certificate file for the SSL connection
87
\fB\-\-pkey\-file\fR=\fISECURE_PKEY_FILE\fR
88
specify the private key file for the SSL connection
90
.SH LOGGING CONFIGURATION
92
\fB\-\-logfile\fR=\fILOGFILE\fR
93
file where the server log will be stored
96
Send the log to the syslog server
98
\fB\-\-log\-level\fR=\fILOG_LEVEL\fR
99
specify the level of the logging. Accepted values:
100
['info', 'debug_rpc', 'warn', 'critical', 'error',
103
.SH SMTP CONFIGURATION
105
\fB\-\-email\-from\fR=\fIEMAIL_FROM\fR
106
specify the SMTP email address for sending email
108
\fB\-\-smtp\fR=\fISMTP_SERVER\fR
109
specify the SMTP server for sending email
111
\fB\-\-smtp\-port\fR=\fISMTP_PORT\fR
112
specify the SMTP port
114
\fB\-\-smtp\-ssl\fR=\fISMTP_SSL\fR
115
specify the SMTP server support SSL or not
117
\fB\-\-smtp\-user\fR=\fISMTP_USER\fR
118
specify the SMTP username for sending email
120
\fB\-\-smtp\-password\fR=\fISMTP_PASSWORD\fR
121
specify the SMTP password for sending email
123
\fB\-\-price_accuracy\fR=\fIPRICE_ACCURACY\fR
124
specify the price accuracy
126
.SH DATABASE RELATED OPTIONS
129
\fB\-d\fR DB_NAME, \fB\-\-database\fR=\fIDB_NAME\fR
130
specify the database name
132
\fB\-r\fR DB_USER, \fB\-\-db_user\fR=\fIDB_USER\fR
133
specify the database user name
135
\fB\-w\fR DB_PASSWORD, \fB\-\-db_password\fR=\fIDB_PASSWORD\fR
136
specify the database password
138
\fB\-\-pg_path\fR=\fIPG_PATH\fR
139
specify the pg executable path
141
\fB\-\-db_host\fR=\fIDB_HOST\fR
142
specify the database host
144
\fB\-\-db_port\fR=\fIDB_PORT\fR
145
specify the database port
147
\fB\-\-db_maxconn\fR=\fIDB_MAXCONN\fR
148
specify the the maximum number of physical connections
151
\fB\-P\fR IMPORT_PARTIAL, \fB\-\-import\-partial\fR=\fIIMPORT_PARTIAL\fR
152
Use this for big data importation, if it crashes you
153
will be able to continue at the current state. Provide
154
a filename to store intermediate importation states.
67
156
.SH INTERNATIONALISATION OPTIONS
69
Use these options to translate OpenERP in another language. See the i18n
70
section of the user manual. Option '-l' is mandatory.
73
.B \-l \fILANGUAGE\fB, --language=\fILANGUAGE\fB
74
Specify the language of the translation file. Use this option in
75
combination with --i18n-export or --i18n-import.
78
.B \-\-i18n-export=\fIFILEPATH\fB
79
Export all sentences to be translated to \fIFILEPATH\fR.
82
.B \-\-i18n-import=\fIFILEPATH\fB
83
Import the CSV file at \fIFILEPATH\fR. It should contain the translations for the language specified with the \fI-l\fR option.
158
Use these options to translate OpenERP to another language.See i18n
159
section of the user manual. Option '\-d' is mandatory.Option '\-l' is
160
mandatory in case of importation
162
\fB\-l\fR LANGUAGE, \fB\-\-language\fR=\fILANGUAGE\fR
163
specify the language of the translation file. Use it
164
with \fB\-\-i18n\-export\fR or \fB\-\-i18n\-import\fR
166
\fB\-\-i18n\-export\fR=\fITRANSLATE_OUT\fR
167
export all sentences to be translated to a CSV file, a
168
PO file or a TGZ archive and exit
170
\fB\-\-i18n\-import\fR=\fITRANSLATE_IN\fR
171
import a CSV or a PO file with translations and exit.
172
The '\-l' option is required.
174
\fB\-\-modules\fR=\fITRANSLATE_MODULES\fR
175
specify modules to export. Use in combination with
176
\fB\-\-i18n\-export\fR
178
\fB\-\-addons\-path\fR=\fIADDONS_PATH\fR
179
specify an alternative addons path.
86
182
~/.openerp_serverrc