summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd')
-rwxr-xr-xfreebsd/rspamd.sh.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/freebsd/rspamd.sh.in b/freebsd/rspamd.sh.in
index d58259008..d01b3394c 100755
--- a/freebsd/rspamd.sh.in
+++ b/freebsd/rspamd.sh.in
@@ -37,7 +37,13 @@ rspamd_checkconfig()
eval ${command} -t
}
-extra_commands="reload configtest"
+reopenlog_cmd()
+{
+ export sig_reload="USR1"
+ run_rc_command reload
+}
+
+extra_commands="reload configtest reopenlog"
sig_reload="HUP"
command="$procname"