diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2016-04-22 15:57:44 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2016-04-22 15:57:44 +0800 |
commit | 63367f8908d226082be95334ca11b380ba0bf5c4 (patch) | |
tree | ba86f6a080d8d2f4e81b7b12ef4915ab85eb77b6 /mail/rspamd-devel/files | |
parent | 9b967d62efbf914d57438affc7fc080135651a09 (diff) | |
download | freebsd-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.in | 8 |
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() |