aboutsummaryrefslogtreecommitdiffstats
path: root/centos/sources/rspamd.init
diff options
context:
space:
mode:
Diffstat (limited to 'centos/sources/rspamd.init')
-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() {