7d2cbecd6b64e83f0c56d366eca8adfaacf13330
[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 [task_server]
40 # User name to use for database access
41 login = mb
42 # Set to 1 for debug messages in /tmp/lx-office-debug.log
43 debug = 1
44 # Chose a system user the daemon should run under when started as root.
45 run_as =
46
47 [periodic_invoices]
48 # The user name a report about the posted and printed invoices is sent
49 # to.
50 send_email_to  = mb
51 # The "From:" header for said email.
52 email_from     = Lx-Office Daemon <root@localhost>
53 # The subject for said email.
54 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
55 # The template file used for the email's body.
56 email_template = templates/webpages/oe/periodic_invoices_email.txt
57
58 [Console]
59 # autologin to use if none is given
60 login = mb
61
62 # autorun lines will be executed after autologin.
63 # be warned that loading huge libraries will noticably lengthen startup time.
64 autorun = require "bin/mozilla/common.pl";
65         = use English qw(-no_match_vars);
66         = use List::Util qw(min max);
67         = use Sort::Naturally;
68         = my ($a, $b, $e, $f, @a1, @a2, %h);
69         = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
70
71 # location of history file for permanent history
72 history_file = users/console_history
73
74 [debug]
75 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
76 # will be replaced by the file name configured for $::lxdebug.
77 dbix_log4perl = 0
78 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
79                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
80                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
81                      = log4perl.appender.LOGFILE.mode=append
82                      = log4perl.appender.LOGFILE.Threshold = ERROR
83                      = log4perl.appender.LOGFILE.layout=PatternLayout
84                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
85                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
86                      = log4perl.appender.A1=Log::Log4perl::Appender::File
87                      = log4perl.appender.A1.filename=LXDEBUGFILE
88                      = log4perl.appender.A1.mode=append
89                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
90                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
91
92 # Activate certain global debug messages. If you want to combine
93 # several options then list them seperated by spaces.
94 #
95 # Possible values include:
96 #   NONE   - no debug output (default)
97 #   INFO
98 #   DEBUG1
99 #   DEBUG2
100 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
101 #   TRACE              - Track function calls and returns
102 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
103 #   REQUEST_TIMER      - Log timing of HTTP requests
104 #   WARN               - warnings
105 #   ALL                - all possible debug messages
106 #
107 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
108 #
109 # Example:
110 #   global_level = TRACE QUERY
111 global_level = NONE
112
113 # Activate monitoring of the content of $form. If it is active then
114 # monitoring can be turned on for certain variables with the
115 # following:
116 #   $form->{"Watchdog::<variable>"} = 1;
117 # Monitoring has a performance cost and is therefore deactivated by
118 # default.
119 watch_form = 0
120
121 # If you want to debug the creation of LaTeX files then set this to 1.
122 # That way the temporary LaTeX files created during PDF creation are
123 # not removed and remain in the "users" directory.
124 keep_temp_files = 0
125
126 # The file name where the debug messages are written to.
127 file_name = /tmp/mb-lxdebug.log