/etc/ledgersmb/ledgersmb.conf is in ledgersmb 1.3.40-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | auth : DB
logging : 0
#Be aware of tempdir setting.If client_browser and server_apache on same machine, sharing tmp-dir , problems 'Permission denied' if server tries to write temp-file wich already exists as client-owned
tempdir : /tmp/ledgersmb
# This is the logical CSS directory. I.e. it is what comes before the
# ledgersmb.css in the url. Example might be /my_css_dir/ or
# http://localhost/other_css_dir/
cssdir = /lsmbcss/
# THis is the location on the file system where the css files are, for editing
# and selection. An example might be /var/www/ledgersmb_css/
fs_cssdir = /var/lib/ledgersmb/css/
# If set to a true value this caches templates. Typically it will be set to 0
# to disable or 1 to enable.
cache_templates = 0
# Set language for login and admin pages
language : en
log_level : ERROR
#DBI_TRACE : 1=/tmp/dbi.trace
DBI_TRACE : 0
# For Windows, uncomment the pathsep line:
# pathsep : ;
# If you have LaTeX installed, set to 1
latex : 1
# Maximum number of invoices that can be printed on a cheque
check_max_invoices : 5
# Maximum POST size to prevent DoS (4MB default)
max_post_size : 4194304
# Define global settings for decimal places
decimal_places : 2
# Spelling of cookie name for this instance of LedgerSMB.
# Used to keep multiple instances and/or different versions
# logged in at the same time
cookie_name : LedgerSMB-1.3
# This is the string we look for in the failed connection error to determine
# if the database was not found. For English-language locales, this can be
# left in place. If the database server is running a different locale, it may
# need to be changed. Any partial match on the connection error assumes that
# the failure to connect was caused by an invalid database request.
no_db_str : database
[environment]
# If the server can't find applications, append to the path
PATH: /bin:/usr/bin:/usr/local/bin:/usr/local/pgsql/bin
# If on Mac OS X using Fink's Perl libs, append to the path
#PERL5LIB = /sw/lib/perl5
[paths]
# spool directory for batch printing
spool = /var/lib/ledgersmb/spool
# path to user configuration files
userspath = /var/lib/ledgersmb/users
# templates base directory
templates = /var/lib/ledgersmb/templates
# images base directory
images = /usr/share/ledgersmb/images
# member file
memberfile = /var/lib/ledgersmb/users/members
localepath = /usr/share/ledgersmb/locale/po
[programs]
# program to use for file compression
gzip = gzip -S .gz
[mail]
### How to send mail. The sendmail command is used unless smtphost is set.
sendmail = /usr/bin/sendmail
# smtphost = 127.0.0.1
# smtptimeout = 60
# backup_email_from = backups@lsmb_hosting.com
[printers]
# Available printers
Laser = lpr -Plaser
Epson = lpr -PEpson
[database]
# Sets database connection parameters. Note that default_db can be left blank
# if you want to force people to enter a company name at login.
port = 5432
default_db = lsmb13
host = localhost
db_namespace = public
#contrib_dir PG_CONTRIB_DIR
#with postgresql-9.1 this stuff is in /usr/share/postgresql/9.1/extension and is injected in database with create extension pg_trgm,btree_gist...
contrib_dir = /usr/share/postgresql/9.3/extension
# sslmode can be require, allow, prefer, or disable. Defaults to prefer.
sslmode = prefer
[log4perl_config_modules_loglevel]
LedgerSMB : ERROR
LedgerSMB.DBObject = ERROR
|