diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-16 16:21:48 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-16 16:21:48 -0700 |
commit | a2e79a9a642d15e823ac67f5f05eba0829c7dfc7 (patch) | |
tree | dfbee617e691781ab5173fe9cf8308867a167dcd /.config | |
parent | 7d2716559f43241f72bbfefd4e2ef7a2e461f88e (diff) | |
download | dotfiles-a2e79a9a642d15e823ac67f5f05eba0829c7dfc7.tar.gz |
update radicale config for bullseye
Diffstat (limited to '.config')
-rw-r--r-- | .config/radicale/config | 60 | ||||
-rw-r--r-- | .config/radicale/logging | 63 |
2 files changed, 11 insertions, 112 deletions
diff --git a/.config/radicale/config b/.config/radicale/config index d7d01a00..46a954a7 100644 --- a/.config/radicale/config +++ b/.config/radicale/config @@ -15,16 +15,10 @@ # IPv4 syntax: address:port # IPv6 syntax: [address]:port # For example: 0.0.0.0:9999, [::]:9999 -#hosts = 127.0.0.1:5232 - -# Daemon flag -#daemon = False - -# File storing the PID in daemon mode -#pid = +#hosts = localhost:5232 # Max parallel connections -#max_connections = 20 +#max_connections = 8 # Max size of request body (bytes) #max_content_length = 100000000 @@ -45,18 +39,6 @@ key = /etc/ssl/private/ssl-cert-snakeoil.key # TCP traffic between Radicale and a reverse proxy #certificate_authority = -# SSL Protocol used. See python's ssl module for available values -#protocol = PROTOCOL_TLSv1_2 - -# Available ciphers. See python's ssl module for available ciphers -#ciphers = - -# Reverse DNS to resolve client address in logs -#dns_lookup = True - -# Message displayed in the client when a password is needed -#realm = Radicale - Password Required - [encoding] @@ -77,14 +59,16 @@ type = remote_user #htpasswd_filename = /etc/radicale/users # Htpasswd encryption method -# Value: plain | sha1 | ssha | crypt | bcrypt | md5 -# Only bcrypt can be considered secure. -# bcrypt and md5 require the passlib library to be installed. -#htpasswd_encryption = bcrypt +# Value: plain | bcrypt | md5 +# bcrypt requires the installation of radicale[bcrypt]. +#htpasswd_encryption = md5 # Incorrect authentication delay (seconds) #delay = 1 +# Message displayed in the client when a password is needed +#realm = Radicale - Password Required + [rights] @@ -105,23 +89,9 @@ type = owner_only # Folder for storing local collections, created if not present filesystem_folder = /home/spwhitton/lib/radicale -# Lock the storage. Never start multiple instances of Radicale or edit the -# storage externally while Radicale is running if disabled. -#filesystem_locking = True - -# Sync all changes to disk during requests. (This can impair performance.) -# Disabling it increases the risk of data loss, when the system crashes or -# power fails! -#filesystem_fsync = True - # Delete sync token that are older (seconds) #max_sync_token_age = 2592000 -# Close the lock file when no more clients are waiting. -# This option is not very useful in general, but on Windows files that are -# opened cannot be deleted. -#filesystem_close_lock_file = False - # Command that is run after changes to storage # Example: ([ -d .git ] || git init) && ([ -e .gitignore ] || printf '.Radicale.cache\n.Radicale.lock\n.Radicale.tmp-*\n' > .gitignore) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s) hook = git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s) @@ -136,17 +106,9 @@ hook = git add -A && (git diff --cached --quiet || git commit -m "Changes by "%( [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 = /home/spwhitton/.config/radicale/logging - -# Set the default logging level to debug -#debug = False - -# Store all environment variables (including those set in the shell) -#full_environment = False +# Threshold for the logger +# Value: debug | info | warning | error | critical +#level = warning # Don't include passwords in logs #mask_passwords = True diff --git a/.config/radicale/logging b/.config/radicale/logging deleted file mode 100644 index f449b49f..00000000 --- a/.config/radicale/logging +++ /dev/null @@ -1,63 +0,0 @@ -# -*- mode: conf -*- -# vim:ft=cfg - -# Logging config file for Radicale - A simple calendar server -# -# The recommended path for this file is /etc/radicale/logging -# The path must be specified in the logging section of the configuration file -# -# Some examples are included in Radicale's documentation, see: -# http://radicale.org/logging/ -# -# Other handlers are available. For more information, see: -# http://docs.python.org/library/logging.config.html - - -# Loggers, handlers and formatters keys - -[loggers] -# Loggers names, main configuration slots -keys = root - -[handlers] -# Logging handlers, defining logging output methods -keys = console,file - -[formatters] -# Logging formatters -keys = simple,full - - -# Loggers - -[logger_root] -# Root logger -level = WARNING -handlers = console - - -# Handlers - -[handler_console] -# Console handler -class = StreamHandler -args = (sys.stderr,) -formatter = simple - -[handler_file] -# File handler -class = FileHandler -args = ('/home/spwhitton/local/log/radicale.log',) -level = WARNING -formatter = full - - -# Formatters - -[formatter_simple] -# Simple output format -format = [%(thread)x] %(levelname)s: %(message)s - -[formatter_full] -# Full output format -format = %(asctime)s - [%(thread)x] %(levelname)s: %(message)s |