head 1.1; access; symbols pkgsrc-2024Q1:1.1.0.60 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.58 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.56 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.54 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.52 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.50 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.48 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.46 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.44 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.42 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.40 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.38 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.36 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.34 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.32 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.28 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.8 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.30 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.26 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.24 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.22 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.20 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.18 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.16 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.14 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.12 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.10 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.6 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.4 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.2 pkgsrc-2016Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2016.12.05.22.21.41; author rodent; state Exp; branches; next ; commitid VYGMuo82vgGRtQwz; desc @@ 1.1 log @Add example RCD file and sample configuration files. Forgot this yesterday. @ text @# Stock trytond.conf file based on doc/topics/configuration.rst. # The defaults are listed as per the documentation. # ============================= # Configuration file for Tryton # ============================= # The configuration file controls some aspects of the behavior of Tryton. # The file uses a simple ini-file format. It consists of sections, led by a # '[section]' header and followed by 'name = value' entries. # Defines the behavior of the web interface. [web] # Defines the couple of host (or IP address) and port number separated by a # colon to listen on. listen = localhost:8000 # Defines the hostname. #hostname = # Defines the root path served by `GET` requests. #root = /var/www/localhost/tryton # Defines how the database is managed. [database] # Contains the URI to connect to the SQL database. The URI follows the RFC-3986. # The typical form is: database://username:password@@host:port/ # The available databases are: # PostgreSQL # pyscopg2 supports two type of connections: # - TCP/IP connection: `postgresql://user:password@@localhost:5432/` # - Unix domain connection: `postgresql://username:password@@/` # SQLite # The only possible URI is: `sqlite://` # MySQL # Same as for PostgreSQL. #uri = sqlite:// # The directory where Tryton stores files and so the user running trytond # must have write access on this directory. #path = /var/lib/trytond/ # A boolean value to list available databases. list = True # The number of retries when a database operational error occurs during a # request. retry = 5 # The main language of the database that will be used for storage in the main # table for translations. language = en_US # Defines size of various cache. [cache] # The number of different models kept in the cache per transaction. model = 200 # The number of records loaded kept in the cache of the list. record = 2000 # The number of field to load with an `eager` :attr:`Field.loading`. field = 100 # This section allows to override the default generated table name for a # :class:`ModelSQL`. The main goal is to bypass limitation on the name length of # the database backend. # For example:: # [table] # account.invoice.line = acc_inv_line # account.invoice.tax = acc_inv_tax #[table] # Activates SSL_ on all network protocols. #[ssl] # The path to the private key. #privatekey = # The path to the certificate. #certificate = [email] # The SMTP-URL to connect to the SMTP server which is extended to support SSL # and STARTTLS. The available protocols are: # - smtp: simple SMTP # - smtp+tls: SMTP with STARTTLS # - smtps: SMTP with SSL uri = smtp://localhost:25 # Defines the default `From` address for emails sent by Tryton. #from = [session] # The time in seconds until a session expires. timeout = 600 # The server password used to authenticate from the client for database # management tasks. It is encrypted using using the Unix crypt(3) routine. # A password can be generated using this command line: # python -c 'import getpass,crypt,random,string; print crypt.crypt(getpass.getpass(), "".join(random.sample(string.ascii_letters + string.digits, 8)))' #super_pwd = [report] # The parameters for `unoconv`. unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext @