File rspamd-conf.patch of Package rspamd
Index: rspamd-3.12.1/conf/rspamd.conf
===================================================================
--- rspamd-3.12.1.orig/conf/rspamd.conf
+++ rspamd-3.12.1/conf/rspamd.conf
@@ -34,7 +34,8 @@ lang_detection {
.include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/cgp.inc"
logging {
- type = "file";
+ type = "console";
+ systemd = true;
filename = "$LOGDIR/rspamd.log";
.include "$CONFDIR/logging.inc"
.include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/logging.inc"
Index: rspamd-3.12.1/conf/options.inc
===================================================================
--- rspamd-3.12.1.orig/conf/options.inc
+++ rspamd-3.12.1/conf/options.inc
@@ -44,7 +44,7 @@ classify_headers = [
"X-MimeOLE",
];
-control_socket = "$DBDIR/rspamd.sock mode=0600";
+control_socket = "$RUNDIR/rspamd.sock mode=0600";
history_rows = 200;
explicit_modules = ["settings", "bayes_expiry"];