aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rspamd-devel/files
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2016-04-22 15:57:44 +0800
committervsevolod <vsevolod@FreeBSD.org>2016-04-22 15:57:44 +0800
commit63367f8908d226082be95334ca11b380ba0bf5c4 (patch)
treeba86f6a080d8d2f4e81b7b12ef4915ab85eb77b6 /mail/rspamd-devel/files
parent9b967d62efbf914d57438affc7fc080135651a09 (diff)
downloadfreebsd-ports-gnome-63367f8908d226082be95334ca11b380ba0bf5c4.tar.gz
freebsd-ports-gnome-63367f8908d226082be95334ca11b380ba0bf5c4.tar.zst
freebsd-ports-gnome-63367f8908d226082be95334ca11b380ba0bf5c4.zip
- Update to 1.3.0b1
Submitted by: az
Diffstat (limited to 'mail/rspamd-devel/files')
-rw-r--r--mail/rspamd-devel/files/rspamd.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/rspamd-devel/files/rspamd.in b/mail/rspamd-devel/files/rspamd.in
index 8e4700885356..5b1a94f3ca7f 100644
--- a/mail/rspamd-devel/files/rspamd.in
+++ b/mail/rspamd-devel/files/rspamd.in
@@ -9,13 +9,13 @@
# Add the following line to /etc/rc.conf to enable rspamd:
#
# rspamd_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable rspamd.
+# Set it to "YES" to enable rspamd.
#
# rspamd_user (str): Default to "nobody".
#
# rspamd_group (str): Default to "nobody".
#
-# rspamd_flags (str): Default to "-c %%PREFIX%%/etc/rspamd.xml".
+# rspamd_flags (str): Default to "-c %%PREFIX%%/etc/rspamd.conf".
. /etc/rc.subr
@@ -34,14 +34,12 @@ pidfile=${rspamd_pidfile:-"/var/run/rspamd/rspamd.pid"}
command=%%PREFIX%%/bin/rspamd
command_adm=%%PREFIX%%/bin/rspamadm
restart_precmd="rspamd_checkconfig"
-reload_precmd="rspamd_checkconfig"
configtest_cmd="rspamd_checkconfig"
reopenlog_cmd="reopenlog_cmd"
required_files=%%PREFIX%%/etc/rspamd/rspamd.conf
command_args="-u ${rspamd_user} -g ${rspamd_group}"
-sig_reload="HUP"
-extra_commands="reload configtest reopenlog"
+extra_commands="configtest reopenlog"
stop_postcmd="rm -f $pidfile"
rspamd_checkconfig()