{{cookiecutter.project_slug}}/buildout.cfg
changeset 16 0b771e8f5411
parent 11 893d6fc43deb
equal deleted inserted replaced
15:c3dbfc6488c2 16:0b771e8f5411
    33 name = {{ cookiecutter.project_slug }}
    33 name = {{ cookiecutter.project_slug }}
    34 recipe = zc.zodbrecipes:server
    34 recipe = zc.zodbrecipes:server
    35 zeo.conf =
    35 zeo.conf =
    36   <zeo>
    36   <zeo>
    37     address {{ cookiecutter.zeo_server_port }}
    37     address {{ cookiecutter.zeo_server_port }}
    38 {%- if cookiecutter.zeo_monitor_port != 0 %}
       
    39     monitor-address 8101
       
    40 {%- endif %}
       
    41     read-only false
    38     read-only false
    42     invalidation-queue-size 100
    39     invalidation-queue-size 100
    43     transaction-timeout 300
    40     transaction-timeout 300
    44 {%- if cookiecutter.use_zeo_auth}
       
    45     authentication-protocol digest
       
    46     authentication-database $((INSTALL))/etc/auth.db
       
    47     authentication-realm {{ cookiecutter.project_name }}
       
    48 {%- endif %}
       
    49   </zeo>
    41   </zeo>
    50   <blobstorage {{ cookiecutter.zeo_storage }}>
    42   <blobstorage {{ cookiecutter.zeo_storage }}>
    51     blob-dir $((INSTALL))/var/db/blobs
    43     blob-dir $((INSTALL))/var/db/blobs
    52     <filestorage {{ cookiecutter.zeo_storage }}>
    44     <filestorage {{ cookiecutter.zeo_storage }}>
    53       path $((INSTALL))/var/db/Data.fs
    45       path $((INSTALL))/var/db/Data.fs