Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. # /etc/tryton/trytond.conf - Configuration file for Tryton Server (trytond)
  2. #
  3. # This file contains the most common settings for trytond (Defaults
  4. # are commented).
  5. # For more information install the tryton-server-doc package and read
  6. # /usr/share/doc/tryton-server-doc/html/index.html
  7. # and accordingly
  8. # /usr/share/doc/tryton-server-doc/html/topics/configuration.html
  9.  
  10. [database]
  11. # Database related settings
  12.  
  13. # The URI to connect to the SQL database (following RFC-3986)
  14. # uri = database://username:password@host:port/
  15. # (Internal default: sqlite:// (i.e. a local SQLite database))
  16. #
  17. # PostgreSQL via Unix domain sockets
  18. # (e.g. PostgreSQL database running on the same machine (localhost))
  19. #uri = postgresql://tryton:tryton@/
  20. #
  21. # PostgreSQL via TCP/IP
  22. # (e.g. connecting to a PostgreSQL database running on a remote machine or
  23. # by means of md5 authentication. Needs PostgreSQL to be configured to accept
  24. # those connections (pg_hba.conf).)
  25. #uri = postgresql://tryton:tryton@localhost:5432/
  26.  
  27. # The path to the directory where the Tryton Server stores files.
  28. # The server must have write permissions to this directory.
  29. # (Internal default: /var/lib/trytond)
  30. path = /var/lib/tryton
  31.  
  32. # Shall available databases be listed in the client?
  33. #list = True
  34.  
  35. # The number of retries of the Tryton Server when there are errors
  36. # in a request to the database
  37. #retry = 5
  38.  
  39. # The primary language, that is used to store entries in translatable
  40. # fields into the database.
  41. #language = en_US
  42.  
  43. [ssl]
  44. # SSL settings
  45. # Activation of SSL for all available protocols.
  46. # Uncomment the following settings for key and certificate
  47. # to enable SSL.
  48.  
  49. # The path to the private key
  50. #privatekey = /etc/ssl/private/ssl-cert-snakeoil.key
  51.  
  52. # The path to the certificate
  53. #certificate = /etc/ssl/certs/ssl-cert-snakeoil.pem
  54.  
  55. [jsonrpc]
  56. # Settings for the JSON-RPC network interface
  57.  
  58. # The IP/host and port number of the interface
  59. # (Internal default: localhost:8000)
  60. #
  61. # Listen on all interfaces (IPv4)
  62. #listen = 0.0.0.0:8000
  63. #
  64. # Listen on all interfaces (IPv4 and IPv6)
  65. #listen = [::]:8000
  66.  
  67. # The hostname for this interface
  68. #hostname =
  69.  
  70. # The root path to retrieve data for GET requests
  71. #data = jsondata
  72.  
  73. [xmlrpc]
  74. # Settings for the XML-RPC network interface
  75.  
  76. # The IP/host and port number of the interface
  77. #listen = localhost:8069
  78.  
  79. [webdav]
  80. # Settings for the WebDAV network interface
  81.  
  82. # The IP/host and port number of the interface
  83. #listen = localhost:8080
  84.  
  85. [session]
  86. # Session settings
  87.  
  88. # The time (in seconds) until an inactive session expires
  89. #timeout = 3600
  90.  
  91. # The server administration password used by the client for
  92. # the execution of database management tasks. It is encrypted
  93. # using using the Unix crypt(3) routine. A password can be
  94. # generated using the following command line (on one line):
  95. # $ python -c 'import getpass,crypt,random,string; \
  96. # print crypt.crypt(getpass.getpass(), \
  97. # "".join(random.sample(string.ascii_letters + string.digits, 8)))'
  98. # Example password with 'admin'
  99. #super_pwd = MfkzQm4ajGMws
  100.  
  101. [email]
  102. # Mail settings
  103.  
  104. # The URI to connect to the SMTP server.
  105. # Available protocols are:
  106. # - smtp: simple SMTP
  107. # - smtp+tls: SMTP with STARTTLS
  108. # - smtps: SMTP with SSL
  109. #uri = smtp://localhost:25
  110.  
  111. # The From address used by the Tryton Server to send emails.
  112. #from = tryton@localhost
  113.  
  114. [report]
  115. # Report settings
  116.  
  117. # Unoconv parameters for connection to the unoconv service.
  118. #unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext
  119.  
  120. # Module settings
  121. #
  122. # Some modules are reading configuration parameters from this
  123. # configuration file. These settings only apply when those modules
  124. # are installed.
  125. #
  126. #[ldap_authentication]
  127. # The URI to connect to the LDAP server.
  128. #uri = ldap://host:port/dn?attributes?scope?filter?extensions
  129. # A basic default URL could look like
  130. #uri = ldap://localhost:389/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement