charm-swift-storage/templates/050-swift-storage.conf

66 lines
1.3 KiB
Plaintext

[account]
uid = swift
gid = swift
max connections = {{ account_max_connections }}
path = /srv/node/
read only = false
lock file = /var/lock/account.lock
{% if allowed_hosts -%}
hosts allow = {{ allowed_hosts }}
{% endif %}
[account-rep]
uid = swift
gid = swift
max connections = {{ account_max_connections }}
path = /srv/node/
read only = false
lock file = /var/lock/account-rep.lock
{% if allowed_hosts -%}
hosts allow = {{ allowed_hosts }}
{% endif %}
[container]
uid = swift
gid = swift
max connections = {{ container_max_connections }}
path = /srv/node/
read only = false
lock file = /var/lock/container.lock
{% if allowed_hosts -%}
hosts allow = {{ allowed_hosts }}
{% endif %}
[container-rep]
uid = swift
gid = swift
max connections = {{ container_max_connections }}
path = /srv/node/
read only = false
lock file = /var/lock/container-rep.lock
{% if allowed_hosts -%}
hosts allow = {{ allowed_hosts }}
{% endif %}
[object]
uid = swift
gid = swift
max connections = {{ object_max_connections }}
path = /srv/node/
read only = false
lock file = /var/lock/object.lock
{% if allowed_hosts -%}
hosts allow = {{ allowed_hosts }}
{% endif %}
[object-rep]
uid = swift
gid = swift
max connections = {{ object_max_connections }}
path = /srv/node/
read only = false
lock file = /var/lock/object-rep.lock
{% if allowed_hosts -%}
hosts allow = {{ allowed_hosts }}
{% endif %}