patch-config 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. $OpenBSD: patch-config,v 1.11 2017/05/16 17:15:40 jasper Exp $
  2. Index: config
  3. --- config.orig
  4. +++ config
  5. @@ -28,10 +28,10 @@
  6. #ssl = False
  7. # SSL certificate path
  8. -#certificate = /etc/apache2/ssl/server.crt
  9. +certificate = ${SYSCONFDIR}/radicale/server.crt
  10. # SSL private key
  11. -#key = /etc/apache2/ssl/server.key
  12. +key = ${SYSCONFDIR}/radicale/private/server.key
  13. # SSL Protocol used. See python's ssl module for available values
  14. #protocol = PROTOCOL_SSLv23
  15. @@ -80,11 +80,11 @@
  16. #custom_handler =
  17. # Htpasswd filename
  18. -#htpasswd_filename = /etc/radicale/users
  19. +htpasswd_filename = ${SYSCONFDIR}/radicale/users
  20. # Htpasswd encryption method
  21. # Value: plain | sha1 | ssha | crypt | bcrypt | md5
  22. -#htpasswd_encryption = crypt
  23. +htpasswd_encryption = bcrypt
  24. # LDAP server URL, with protocol and port
  25. #ldap_url = ldap://localhost:389/
  26. @@ -146,7 +146,7 @@
  27. #custom_handler =
  28. # File for rights management from_file
  29. -#file = ~/.config/radicale/rights
  30. +file = ${SYSCONFDIR}/radicale/rights
  31. [storage]
  32. @@ -163,7 +163,7 @@
  33. #custom_handler =
  34. # Folder for storing local collections, created if not present
  35. -#filesystem_folder = ~/.config/radicale/collections
  36. +filesystem_folder = ${VARBASE}/db/radicale/calendars
  37. # Database URL for SQLAlchemy
  38. # dialect+driver://user:password@host/dbname[?key=value..]
  39. @@ -178,7 +178,7 @@
  40. # If no config is given, simple information is printed on the standard output
  41. # For more information about the syntax of the configuration file, see:
  42. # http://docs.python.org/library/logging.config.html
  43. -#config = /etc/radicale/logging
  44. +config = ${SYSCONFDIR}/radicale/logging
  45. # Set the default logging level to debug
  46. #debug = False
  47. # Store all environment variables (including those set in the shell)