X-Git-Url: https://pwan.org/git/?p=hgr.git;a=blobdiff_plain;f=templates%2Fradicale%2Fconfig.erb;fp=templates%2Fradicale%2Fconfig.erb;h=037378c4698dcd7ca28fec70974613bcb5b02d9d;hp=0000000000000000000000000000000000000000;hb=cb5a94b9d4662bcb79cc59e23c9d3f1bbdb31cc5;hpb=8e287a49e4932a8a9b7b20b4372225a9d5ea5bd9 diff --git a/templates/radicale/config.erb b/templates/radicale/config.erb new file mode 100644 index 0000000..037378c --- /dev/null +++ b/templates/radicale/config.erb @@ -0,0 +1,97 @@ +# -*- mode: conf -*- +# vim:ft=cfg + +# Config file for Radicale - A simple calendar server +# +# Place it into /etc/radicale/config (global) +# or ~/.config/radicale/config (user) +# +# The commented out values are the defaults. + + +[server] +# CalDAV server hostnames separated by a comma +# IPv4 syntax: address:port +# IPv6 syntax: [address]:port +# IPv6 adresses are configured to only allow IPv6 connections +#hosts = 0.0.0.0:5232 +# Daemon flag +#daemon = False +# File storing the PID in daemon mode +#pid = +# SSL flag, enable HTTPS protocol +#ssl = False +# SSL certificate path +certificate = /etc/ssl/certs/<%= scope.lookupvar('::fqdn') %>.pem +# SSL private key +key = /etc/ssl/private/<%= scope.lookupvar('::fqdn') %>.key +# Reverse DNS to resolve client address in logs +#dns_lookup = True + + +[encoding] +# Encoding for responding requests +#request = utf-8 +# Encoding for storing local collections +#stock = utf-8 + +[acl] +# Access method +# Value: None | htpasswd | LDAP | PAM | courier +type = htpasswd + +# Usernames used for public collections, separated by a comma +public_users = <%= radicale_public_users %> +# Usernames used for private collections, separated by a comma +private_users = <%= radicale_private_users %> + +# Htpasswd filename +htpasswd_filename = /etc/radicale/users +# Htpasswd encryption method +# Value: plain | sha1 | crypt +htpasswd_encryption = crypt + +# LDAP server URL, with protocol and port +#ldap_url = ldap://localhost:389/ +# LDAP base path +#ldap_base = ou=users,dc=example,dC=COm +# LDAP login attribute +#ldap_attribute = uid +# LDAP filter string +# placed as X in a query of the form (&(...)X) +# example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org) +# leave empty if no additional filter is needed +#ldap_filter = +# LDAP dn for initial login, used if LDAP server does not allow anonymous searches +# Leave empty if searches are anonymous +#ldap_binddn = +# LDAP password for initial login, used with ldap_binddn +#ldap_password = +# LDAP scope of the search +#ldap_scope = OneLevel + +# PAM group user should be member of +#pam_group_membership = + +# Path to the Courier Authdaemon socket +#courier_socket = + +[storage] +# Storage backend +#type = filesystem + +# Folder for storing local collections, created if not present +filesystem_folder = /var/lib/radicale/collections + + +[logging] +# Logging configuration file +# If no config is given, simple information is printed on the standard output +# For more information about the syntax of the configuration file, see: +# http://docs.python.org/library/logging.config.html +#config = /etc/radicale/logging +# Set the default logging level to debug +#debug = False +# Store all environment variables (including those set in the shell) +#full_environment = False +