#1739 More default values in example kojihub.conf
Merged 4 years ago by tkopecek. Opened 4 years ago by tkopecek.
tkopecek/koji issue1661  into  master

file modified
+45 -2
@@ -6,7 +6,7 @@ 

  ## Note that multiline values can be set by indenting subsequent lines

  ## (which means you should not indent regular lines)

  

- ## Basic options ##

+ ##  Basic options  ##

  DBName = koji

  DBUser = koji

  #DBHost = db.example.com
@@ -14,6 +14,9 @@ 

  #DBPass = example_password

  KojiDir = /mnt/koji

  

+ ##  Auth-related options  ##

+ # Use user IP in session management

+ # CheckClientIP = True

  

  ##  Kerberos authentication options  ##

  
@@ -55,6 +58,28 @@ 

  ## Disables all notifications

  # DisableNotifications = False

  

+ ##  Resource limits  ##

+ ## All standard RLIMIT_* can be set here

+ # RLIMIT_AS =

+ # RLIMIT_CORE =

+ # RLIMIT_CPU =

+ # RLIMIT_DATA =

+ # RLIMIT_FSIZE =

+ # RLIMIT_MEMLOCK =

+ # RLIMIT_NOFILE =

+ # RLIMIT_NPROC =

+ # RLIMIT_OFILE =

+ # RLIMIT_RSS =

+ # RLIMIT_STACK =

+ 

+ ## If memory consumption raises during handling request for more

+ ## than MemoryWarnThreshold kilobytes, warning is emitted to log

+ # MemoryWarnThreshold = 5000

+ 

+ ## Maximum request length can be limited on python-side

+ # MaxRequestLength = 4194304

+ 

+ 

  ## Extended features

  ## Support Maven builds

  # EnableMaven = False
@@ -71,7 +96,25 @@ 

  ## details to clients for anticipated errors (i.e. koji's own exceptions --

  ## subclasses of koji.GenericError).

  # KojiDebug = On

- 

+ #

+ ## You can call any function in hub (not only API). This is

+ ## dangerous and should be never enabled in production.

+ # EnableFunctionDebug = False

+ #

+ ## Log level/format for python logging module at hub

+ # LogLevel = WARNING

+ # LogFormat = %(asctime)s [%(levelname)s] m=%(method)s u=%(user_name)s p=%(process)s r=%(remoteaddr)s %(name)s: %(message)s'

+ #

+ #

+ ## If VerbosePolicy (or KojiDebug) is on, 'policy violation'

+ ## messages will contain also policy rule which caused this denial

+ ## VerbosePolicy = False

+ #

+ ## If MissingPolicyOk is on, and given policy is not set up,

+ ## policy test will pass as ok. If 'deny' result is desired, set it

+ ## to off

+ # MissingPolicyOk = True

+ #

  ## Determines how much detail about exceptions is reported to the client (via faults)

  ## Meaningful values:

  ##   normal - a basic traceback (format_exception)