FCGI: Prozess nach Request beenden, falls belegter Speicher größer als konfigurierbar...
[kivitendo-erp.git] / config / kivitendo.conf.default
1 [authentication]
2 # The cleartext password for access to the administrative part.  It
3 # can only be changed in this file, not via the administrative
4 # interface.
5 admin_password = admin123
6
7 # Which module to use for authentication. Valid values are 'DB' and
8 # 'LDAP'.  If 'LDAP' is used then users cannot change their password
9 # via kivitendo.
10 module = DB
11
12 # The cookie name can be changed if desired.
13 cookie_name = kivitendo_session_id
14
15 # The number of minutes a session is valid. The default value is eight
16 # hours.
17 session_timeout = 480
18
19 # The number of seconds to penalize failed login attempts. 0 disables
20 # it.
21 failed_login_penalty = 5
22
23 [authentication/database]
24 # Connection information for the database with the user and group
25 # inforamtion.  This information is always needed, even if LDAP is
26 # used for authentication, as the user information is stored in this
27 # database while LDAP is only used for password verification.
28 #
29 # If 'module' is set to 'DB' then this database also contains the
30 # users' passwords.
31 host     = localhost
32 port     = 5432
33 db       = kivitendo_auth
34 user     = postgres
35 password =
36
37 [authentication/ldap]
38 # This section is only relevant if 'module' is set to 'LDAP'. It names
39 # the LDAP server the passwords are verified against by doing a LDAP
40 # bind operation.
41 #
42 # At least the parameters 'host', 'attribute' and 'base_dn' have to be
43 # specified.
44 #
45 # tls:       Activate encryption via TLS
46 # attribute: Name of the LDAP attribute containing the user's login name
47 # base_dn:   Base DN the LDAP searches start from
48 # filter:    An optional LDAP filter specification. The string '<%login%>'
49 #            is replaced by the user's login name before the search is started.
50 # bind_dn and bind_password:
51 #            If searching the LDAP tree requires user credentials
52 #            (e.g. ActiveDirectory) then these two parameters specify
53 #            the user name and password to use.
54 host          = localhost
55 port          = 389
56 tls           = 0
57 attribute     = uid
58 base_dn       =
59 filter        =
60 bind_dn       =
61 bind_password =
62
63 [system]
64 # Set language for login and admin forms. Currently "de" (German)
65 # and "en" (English, not perfect) are available.
66 language = de
67
68 # The memory limits given here determine the maximum process size
69 # (vsz, the total amount of memory this process uses including memory
70 # swapped out or shared with other processes) or resident set size
71 # (rss, the amount of memory not swapped out/shared with other
72 # processes). If either limit is reached at the end of the request
73 # then the kivitendo process will exit.
74 #
75 # This only makes sense when running under FCGI. The FCGI manager will
76 # then automatically start a new process.
77 #
78 # Numbers can be postfixed with KB, MB, GB. If no number is given or
79 # the number is 0 then no checking will be performed.
80 memory_limit_rss =
81 memory_limit_vsz =
82
83 [paths]
84 # path to temporary files (must be writeable by the web server)
85 userspath = users
86 # spool directory for batch printing
87 spool = spool
88 # templates base directory
89 templates = templates
90 # Path to the old memberfile (ignored on new installations)
91 memberfile = users/members
92
93 [mail_delivery]
94 # Delivery method can be 'sendmail' or 'smtp' (the default). For
95 # 'method = sendmail' the parameter 'mail_delivery.sendmail' is used
96 # as the executable to call. If 'applications.sendmail' still exists
97 # (backwards compatibility) then 'applications.sendmail' will be used
98 # instead of 'mail_delivery.sendmail'.
99 method = smtp
100 # Location of sendmail for 'method = sendmail'
101 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
102 # Settings for 'method = smtp'. Only set 'port' if your SMTP server
103 # runs on a non-standard port (25 for 'security=none' or
104 # 'security=tls', 465 for 'security=ssl').
105 host = localhost
106 #port = 25
107 # Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This
108 # determines whether or not encryption is used and which kind. For
109 # 'tls' the module 'Net::SSLGlue' is required; for 'ssl'
110 # 'Net::SMTP::SSL' is required and 'none' only uses 'Net::SMTP'.
111 security = none
112 # Authentication is only used if 'login' is set. You should only use
113 # that with 'tls' or 'ssl' encryption.
114 login =
115 password =
116
117 [applications]
118 # Location of OpenOffice.org writer
119 openofficeorg_writer = oowriter
120 # Location of the X virtual frame buffer used for OpenOffice
121 xvfb = Xvfb
122 # Location of the html2ps binary
123 html2ps = html2ps
124 # Location of the Ghostscript binary
125 ghostscript = gs
126 # Location of the pdflatex (or compatible, e.g. xetex) binary
127 latex = pdflatex
128 # Location of the Python interpreter to use when converting from
129 # OpenDocument to PDF. Some distributions compile UNO support only
130 # into binaries located in different locations than the main Python
131 # binary.
132 python_uno = python
133
134 # Location of the aqbanking binary to use when converting MT940 files
135 # into the kivitendo import format
136 aqbanking = /usr/bin/aqbanking-cli
137
138 [environment]
139 # Add the following paths to the PATH environment variable.
140 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
141 # Add the following paths to the PERL5LIB environment variable.
142 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
143 lib = /sw/lib/perl5
144 # Add the following paths to the PYTHONPATH environment variable for
145 # locating Python modules. Python is used when converting OpenDocument
146 # files into PDF files.
147 python_uno_path =
148
149 [print_templates]
150 # If you have LaTeX installed set to 1
151 latex = 1
152 # Minimal support for Excel print templates
153 excel = 0
154 # Enable or disable support for OpenDocument print templates
155 opendocument = 1
156 # Chose whether or not OpenOffice should remain running after a
157 # conversion. If yes then the conversion of subsequent documents will
158 # be a lot faster. You need to have Python and the Python UNO bindings
159 # (part of OpenOffice) installed.
160 openofficeorg_daemon = 1
161 openofficeorg_daemon_port = 2002
162
163 [task_server]
164 # Set to 1 for debug messages in /tmp/kivitendo-debug.log
165 debug = 0
166 # Chose a system user the daemon should run under when started as root.
167 run_as =
168
169 [task_server/notify_on_failure]
170 # If you want email notifications for failed jobs then set this to a
171 # kivitendo user (login) name. The subject can be changed as well.
172 send_email_to  =
173 # The "From:" header for said email.
174 email_from     = kivitendo Daemon <root@localhost>
175 # The subject for said email.
176 email_subject  = kivitendo Task-Server: Hintergrundjob fehlgeschlagen
177 # The template file used for the email's body.
178 email_template = templates/webpages/task_server/failure_notification_email.txt
179
180 [periodic_invoices]
181 # The user name a report about the posted and printed invoices is sent
182 # to.
183 send_email_to  = mb
184 # The "From:" header for said email.
185 email_from     = kivitendo Daemon <root@localhost>
186 # The subject for said email.
187 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
188 # The template file used for the email's body.
189 email_template = templates/webpages/oe/periodic_invoices_email.txt
190
191 [self_test]
192
193 # modules to be tested
194 # Add without SL::BackgroundJob::SelfTest:: prefix
195 # Separate with space.
196 modules = Transactions
197
198 # you probably don't want to be spammed with "everything ok" every day. enable
199 # this when you add new tests to make sure they run correctly for a few days
200 send_email_on_success = 0
201
202 # will log into the standard logfile
203 log_to_file = 0
204
205 # user login (!) to send the email to.
206 send_email_to  =
207 # will be used to send your report mail
208 email_from     =
209 # The subject line for your report mail
210 email_subject  = kivitendo self test report
211 # template. currently txt and html templates are recognized and correctly mime send.
212 email_template = templates/mail/self_test/status_mail.txt
213
214 [console]
215 # Automatic login will only work if both "client" and "login" are
216 # given.  "client" can be a client's database ID or its name. "login"
217 # is simply a user's login name.
218 client =
219 login =
220
221 # autorun lines will be executed after autologin.
222 # be warned that loading huge libraries will noticably lengthen startup time.
223 #autorun = require "bin/mozilla/common.pl";
224 #        = use English qw(-no_match_vars);
225 #        = use List::Util qw(min max);
226 #        = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
227
228 # location of history file for permanent history
229 history_file = users/console_history
230
231 # location of a separate log file for the console. everything normally written
232 # to the kivitendo log will be put here if triggered from the console
233 log_file = /tmp/kivitendo_console_debug.log
234
235 [testing]
236
237 # Several tests need a database they can alter data in freely. This
238 # database will be dropped & created before any other test is run. The
239 # following parameters must be given:
240 [testing/database]
241 host     = localhost
242 port     = 5432
243 db       =
244 user     = postgres
245 password =
246 template = template1
247
248 [devel]
249 # Several settings related to the development of kivitendo.
250
251 # "client" is used by several scripts (e.g. rose_auto_create_model.pl)
252 # when they need access to the database. It can be either a client's
253 # database ID or its name.
254 client =
255
256 [debug]
257 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
258 # will be replaced by the file name configured for $::lxdebug.
259 dbix_log4perl = 0
260 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
261                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
262                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
263                      = log4perl.appender.LOGFILE.mode=append
264                      = log4perl.appender.LOGFILE.Threshold = ERROR
265                      = log4perl.appender.LOGFILE.layout=PatternLayout
266                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
267                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
268                      = log4perl.appender.A1=Log::Log4perl::Appender::File
269                      = log4perl.appender.A1.filename=LXDEBUGFILE
270                      = log4perl.appender.A1.mode=append
271                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
272                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
273
274 # Activate certain global debug messages. If you want to combine
275 # several options then list them seperated by spaces.
276 #
277 # Possible values include:
278 #   NONE   - no debug output (default)
279 #   INFO
280 #   DEBUG1
281 #   DEBUG2
282 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
283 #   TRACE              - Track function calls and returns
284 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
285 #   REQUEST_TIMER      - Log timing of HTTP requests
286 #   REQUEST            - Log each request. Careful! Passwords get filtered, but
287 #                        there may be confidential information being logged here
288 #   WARN               - warnings
289 #   ALL                - all possible debug messages
290 #
291 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
292 #
293 # Example:
294 #   global_level = TRACE QUERY
295 global_level = NONE
296
297 # Activate monitoring of the content of $form. If it is active then
298 # monitoring can be turned on for certain variables with the
299 # following:
300 #   $form->{"Watchdog::<variable>"} = 1;
301 # Monitoring has a performance cost and is therefore deactivated by
302 # default.
303 watch_form = 0
304
305 # If you want to debug the creation of LaTeX files then set this to 1.
306 # That way the temporary LaTeX files created during PDF creation are
307 # not removed and remain in the "users" directory.
308 keep_temp_files = 0
309
310 # Restart the FastCGI process if changes to the program or template
311 # files have been detected. The restart will occur after the request
312 # in which the changes have been detected has completed.
313 restart_fcgi_process_on_changes = 0
314
315 # The file name where the debug messages are written to.
316 file_name = /tmp/kivitendo-debug.log
317
318 # If set to 1 then the installation will be kept unlocked even if a
319 # database upgrade fails.
320 keep_installation_unlocked = 0
321
322 # If set to 1 then all resource links (JavaScript, CSS files) output
323 # via $::request->{layout}->use_stylesheet() / use_javascript() will
324 # be made unique by appending a random GET parameter. This will cause
325 # the web browser to always reload the resources.
326 auto_reload_resources = 0
327
328 # If set to 1 each exception will include a full stack backtrace.
329 backtrace_on_die = 0
330
331 [cti]
332 # If you want phone numbers to be clickable then this must be set to a
333 # command that does the actually dialing. Within this command three
334 # variables are replaced before it is executed:
335 #
336 # 1. <%phone_extension%> and <%phone_password%> are taken from the user
337 #    configuration (changeable in the admin interface).
338 # 2. <%number%> is the number to dial. It has already been sanitized
339 #    and formatted correctly regarding e.g. the international dialing
340 #    prefix.
341 #
342 # The following is an example that works with the OpenUC telephony
343 # server:
344 # dial_command = curl --insecure -X PUT https://<%phone_extension%>:<%phone_password%>@IP.AD.DR.ESS:8443/sipxconfig/rest/my/call/<%number%>
345 dial_command =
346 # If you need to dial something before the actual number then set
347 # external_prefix to it.
348 external_prefix = 0
349 # The prefix for international calls (numbers starting with +).
350 international_dialing_prefix = 00