From 473a282dabf716b7d39ac1642c519e6ef43af9fc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 20 Jul 2010 18:11:32 +0400 Subject: * Improve reopenlog command in rc script --- freebsd/rspamd.sh.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'freebsd') diff --git a/freebsd/rspamd.sh.in b/freebsd/rspamd.sh.in index a0c5b7241..4716753d8 100755 --- a/freebsd/rspamd.sh.in +++ b/freebsd/rspamd.sh.in @@ -40,8 +40,7 @@ rspamd_checkconfig() reopenlog_cmd() { - export sig_reload="USR1" - run_rc_command reload + pkill -USR1 -F $rspamd_pidfile } extra_commands="reload configtest reopenlog" -- cgit v1.2.3