diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-14 14:51:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-14 14:51:22 +0100 |
commit | 0de0656c3e72e8587f8af7e61107331236f21bf0 (patch) | |
tree | 09a5f9aff3df182cde09b0457baf37d169268216 /centos/sources/rspamd.init | |
parent | fb6469c8959825d9269f2550d35406a5b5986552 (diff) | |
download | rspamd-0de0656c3e72e8587f8af7e61107331236f21bf0.tar.gz rspamd-0de0656c3e72e8587f8af7e61107331236f21bf0.zip |
Fix rc scripts
Diffstat (limited to 'centos/sources/rspamd.init')
-rw-r--r-- | centos/sources/rspamd.init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/centos/sources/rspamd.init b/centos/sources/rspamd.init index ffc7020b6..ee3365b31 100644 --- a/centos/sources/rspamd.init +++ b/centos/sources/rspamd.init @@ -28,6 +28,7 @@ [ "$NETWORKING" = "no" ] && exit 0 rspamd="/usr/bin/rspamd" +rspamadm="/usr/bin/rspamadm" prog=$(basename $rspamd) RSPAMD_CONF_FILE="/etc/rspamd/rspamd.sysvinit.conf" @@ -87,7 +88,7 @@ force_reload() { } configtest() { - $rspamd -u $RSPAMD_USER -g $RSPAMD_GROUP -t -c $RSPAMD_CONF_FILE + $rspamadm configtest -c $RSPAMD_CONF_FILE } rh_status() { |