aboutsummaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-20 18:11:32 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-20 18:11:32 +0400
commit473a282dabf716b7d39ac1642c519e6ef43af9fc (patch)
treeb02a4c7a9eb0cde787bcaee2688c7a9096da3fb5 /freebsd
parent3fa94456e82ca03555173dc79091a4dc25947fd5 (diff)
downloadrspamd-473a282dabf716b7d39ac1642c519e6ef43af9fc.tar.gz
rspamd-473a282dabf716b7d39ac1642c519e6ef43af9fc.zip
* Improve reopenlog command in rc script
Diffstat (limited to 'freebsd')
-rwxr-xr-xfreebsd/rspamd.sh.in3
1 files changed, 1 insertions, 2 deletions
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"