"Fossies" - the Fresh Open Source Software Archive

Member "pyzor-1.0.0/config/config.sample" (10 Dec 2014, 2836 Bytes) of package /linux/privat/pyzor-1.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "config.sample": 0.9.0_vs_1.0.0.

    1 ## Note that the options that require a file name, must not contain absolute
    2 ## paths. They are relative to the specified --homedir, which defaults to 
    3 ## ~/.pyzor
    4 
    5 ## All of these options are overridable from the respective command-line 
    6 ## arguments.
    7 
    8 ## The client section only affects the pyzor client.
    9 
   10 [client]
   11 ## The `ServersFile` must contain a newline-separated list of server 
   12 ## addresses to report/whitelist/check with.
   13 # ServersFile = servers
   14 
   15 ## The `AccountsFile` file containing information about accounts on servers. 
   16 # AccountsFile = accounts
   17 
   18 ## This option specifies the name of the log file.
   19 # LogFile = 
   20 
   21 ## The `LocaWhitelist` file containing skipped digests. 
   22 # LocalWhitelist = whitelist
   23 
   24 ## This options specifies the number of seconds that the pyzor client should
   25 ## wait for a response from the server before timing out.
   26 # Timeout = 5
   27 
   28 ## This options specifies the input style of the pyzor client. Current options
   29 ## are:
   30 ##  - msg (individual RFC5321 message) 
   31 ##  - mbox (mbox file of messages)  
   32 ##  - digests (Pyzor digests, one per line)
   33 # Style = msg
   34 
   35 ## Thes options specify the threshold for number of reports/whitelists. 
   36 ## According to these thresholds the pyzor client exit code will differ.
   37 # ReportThreshold = 0
   38 # WhitelistThreshold = 0
   39 
   40 ## The server section only affects the pyzord server.
   41 
   42 [server]
   43 ## Specifes the port and interface to listen on.
   44 # Port = 24441
   45 # ListenAddress = 0.0.0.0
   46 
   47 ## This option specifies the name of the log file.
   48 # LogFile = 
   49 ## This option specifies the name of the usage log file.
   50 # UsageLogFile = 
   51 
   52 ## This file will contain the PID of the pyzord daemon, when the it's 
   53 ## started with the --detach options. The file is removed when the daemon is 
   54 ## closed
   55 # PidFile = pyzord.pid
   56 
   57 ## This file must contain the username and their keys 
   58 # PasswdFile = pyzord.passwd
   59 
   60 ## This file defines the ACL for the users
   61 # AccessFile = pyzord.access
   62 
   63 ## If set to True then use the gevent library.
   64 # Gevent = False
   65 
   66 ## These settings define the storage engine that the pyzord server should use.
   67 
   68 ## Example for gdbm (default):
   69 # Engine = gdbm
   70 # DigestDB   = pyzord.db
   71 
   72 ## Example for mysql:
   73 # Engine = mysql
   74 # DigestDB   = localhost,user,passwd,pyzor_db,pyzor_table
   75 
   76 ## Example for redis:
   77 # Engine = redis
   78 # DigestDB = localhost,6379,,0
   79 ## Or if a password is required
   80 # DigestDB = localhost,6379,passwd,0 
   81 
   82 ## The maximum age of an record, after which it will be removed.
   83 ## To disable this set this to 0.
   84 # CleanupAge = 10368000 # aprox 4 months
   85 
   86 
   87 ## These setting define how and if the pyzord server should use concurrency
   88 ## For pre-forking
   89 # PreFork = 0 # disabled
   90 
   91 ## For multi-threading:
   92 # Threads = False
   93 # MaxThreads = 0 # unlimited
   94 # DBConnections = 0 # new connection for each request
   95 
   96 ## For multi-processing:
   97 # Processes = False
   98 # MaxProcesses = 40
   99 
  100 
  101 
  102 
  103 
  104 
  105 
  106