aboutsummaryrefslogtreecommitdiffstats
path: root/centos
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-14 14:51:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-14 14:51:22 +0100
commit0de0656c3e72e8587f8af7e61107331236f21bf0 (patch)
tree09a5f9aff3df182cde09b0457baf37d169268216 /centos
parentfb6469c8959825d9269f2550d35406a5b5986552 (diff)
downloadrspamd-0de0656c3e72e8587f8af7e61107331236f21bf0.tar.gz
rspamd-0de0656c3e72e8587f8af7e61107331236f21bf0.zip
Fix rc scripts
Diffstat (limited to 'centos')
-rw-r--r--centos/sources/rspamd.init3
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() {