You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rspamd.systemd.conf 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Systemd enabled top level configuration file
  2. # Please don't modify this file as your changes might be overwritten with
  3. # the next update.
  4. #
  5. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  6. # parameters defined on the top level
  7. #
  8. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  9. # parameters defined on the top level
  10. #
  11. # For specific modules or configuration you can also modify
  12. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  13. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  14. #
  15. # See https://rspamd.com/doc/tutorials/writing_rules.html for details
  16. .include "$CONFDIR/common.conf"
  17. options {
  18. .include "$CONFDIR/options.inc"
  19. .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/options.inc"
  20. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/options.inc"
  21. }
  22. logging {
  23. type = "console";
  24. systemd = true;
  25. .include "$CONFDIR/logging.inc"
  26. .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/logging.inc"
  27. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/logging.inc"
  28. }
  29. worker {
  30. bind_socket = "systemd:0";
  31. .include "$CONFDIR/worker-normal.inc"
  32. .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/worker-normal.inc"
  33. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/worker-normal.inc"
  34. }
  35. worker {
  36. bind_socket = "systemd:1";
  37. .include "$CONFDIR/worker-controller.inc"
  38. .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/worker-controller.inc"
  39. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/worker-controller.inc"
  40. }