Globale Variablen für Druckvorlagen nach %::lx_office_conf verschoben
[kivitendo-erp.git] / config / lx_office.conf.default
1 [paths]
2 # path to temporary files (must be writeable by the web server)
3 userspath = users
4 # spool directory for batch printing
5 spool = spool
6 # templates base directory
7 templates = templates
8 # Path to the old memberfile (ignored on new installations)
9 memberfile = users/members
10
11 [applications]
12 # Location of sendmail
13 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
14 # Location of OpenOffice.org writer
15 openofficeorg_writer = oowriter
16 # Location of the X virtual frame buffer used for OpenOffice
17 xvfb = Xvfb
18 # Location of the html2ps binary
19 html2ps = html2ps
20 # Location of the Ghostscript binary
21 ghostscript = gs
22 # Location of the pdflatex (or compatible, e.g. xetex) binary
23 latex = pdflatex
24 # Location of the two executables "pg_dump" and "pg_restore" used for
25 # database backup and restoration from the admin section.  If
26 # "pg_dump" or "pg_restore" is set to "DISABLED" then the
27 # corresponding option (backup/restoration) will be hidden from the
28 # admin section.
29 pg_dump = pg_dump
30 pg_restore = pg_restore
31
32 [environment]
33 # Add the following paths to the PATH environment variable.
34 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
35 # Add the following paths to the PERL5LIB environment variable.
36 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
37 lib = /sw/lib/perl5
38
39 [print_templates]
40 # If you have LaTeX installed set to 1
41 latex = 1
42 # Minimal support for Excel print templates
43 excel = 0
44 # Enable or disable support for OpenDocument print templates
45 opendocument = 1
46 # Chose whether or not OpenOffice should remain running after a
47 # conversion. If yes then the conversion of subsequent documents will
48 # be a lot faster. You need to have Python and the Python UNO bindings
49 # (part of OpenOffice) installed.
50 openofficeorg_daemon = 1
51 openofficeorg_daemon_port = 2002
52
53 [task_server]
54 # User name to use for database access
55 login = mb
56 # Set to 1 for debug messages in /tmp/lx-office-debug.log
57 debug = 1
58 # Chose a system user the daemon should run under when started as root.
59 run_as =
60
61 [periodic_invoices]
62 # The user name a report about the posted and printed invoices is sent
63 # to.
64 send_email_to  = mb
65 # The "From:" header for said email.
66 email_from     = Lx-Office Daemon <root@localhost>
67 # The subject for said email.
68 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
69 # The template file used for the email's body.
70 email_template = templates/webpages/oe/periodic_invoices_email.txt
71
72 [Console]
73 # autologin to use if none is given
74 login = mb
75
76 # autorun lines will be executed after autologin.
77 # be warned that loading huge libraries will noticably lengthen startup time.
78 autorun = require "bin/mozilla/common.pl";
79         = use English qw(-no_match_vars);
80         = use List::Util qw(min max);
81         = use Sort::Naturally;
82         = my ($a, $b, $e, $f, @a1, @a2, %h);
83         = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
84
85 # location of history file for permanent history
86 history_file = users/console_history
87
88 [debug]
89 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
90 # will be replaced by the file name configured for $::lxdebug.
91 dbix_log4perl = 0
92 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
93                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
94                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
95                      = log4perl.appender.LOGFILE.mode=append
96                      = log4perl.appender.LOGFILE.Threshold = ERROR
97                      = log4perl.appender.LOGFILE.layout=PatternLayout
98                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
99                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
100                      = log4perl.appender.A1=Log::Log4perl::Appender::File
101                      = log4perl.appender.A1.filename=LXDEBUGFILE
102                      = log4perl.appender.A1.mode=append
103                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
104                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
105
106 # Activate certain global debug messages. If you want to combine
107 # several options then list them seperated by spaces.
108 #
109 # Possible values include:
110 #   NONE   - no debug output (default)
111 #   INFO
112 #   DEBUG1
113 #   DEBUG2
114 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
115 #   TRACE              - Track function calls and returns
116 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
117 #   REQUEST_TIMER      - Log timing of HTTP requests
118 #   WARN               - warnings
119 #   ALL                - all possible debug messages
120 #
121 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
122 #
123 # Example:
124 #   global_level = TRACE QUERY
125 global_level = NONE
126
127 # Activate monitoring of the content of $form. If it is active then
128 # monitoring can be turned on for certain variables with the
129 # following:
130 #   $form->{"Watchdog::<variable>"} = 1;
131 # Monitoring has a performance cost and is therefore deactivated by
132 # default.
133 watch_form = 0
134
135 # If you want to debug the creation of LaTeX files then set this to 1.
136 # That way the temporary LaTeX files created during PDF creation are
137 # not removed and remain in the "users" directory.
138 keep_temp_files = 0
139
140 # The file name where the debug messages are written to.
141 file_name = /tmp/mb-lxdebug.log