diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-20 18:11:32 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-20 18:11:32 +0400 |
commit | 473a282dabf716b7d39ac1642c519e6ef43af9fc (patch) | |
tree | b02a4c7a9eb0cde787bcaee2688c7a9096da3fb5 | |
parent | 3fa94456e82ca03555173dc79091a4dc25947fd5 (diff) | |
download | rspamd-473a282dabf716b7d39ac1642c519e6ef43af9fc.tar.gz rspamd-473a282dabf716b7d39ac1642c519e6ef43af9fc.zip |
* Improve reopenlog command in rc script
-rwxr-xr-x | freebsd/rspamd.sh.in | 3 |
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" |