summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2023-03-05 10:53:43 +0000
committerDuncan Bellamy <dunk@denkimushi.com>2023-03-05 10:55:03 +0000
commit2fbfb7c9885a7703ae6aa222a261cef8cdda34c9 (patch)
tree475c1af644efdc29dbb330df27a35f0be776e903 /freebsd
parentb13a39610c9007a1afa4d1dbf94d73a1a5b1269b (diff)
downloadrspamd-2fbfb7c9885a7703ae6aa222a261cef8cdda34c9.tar.gz
rspamd-2fbfb7c9885a7703ae6aa222a261cef8cdda34c9.zip
[Fix] remove obsolete rspamd-redirector files
* fixes #4421
Diffstat (limited to 'freebsd')
-rwxr-xr-xfreebsd/redirector.sh.in33
1 files changed, 0 insertions, 33 deletions
diff --git a/freebsd/redirector.sh.in b/freebsd/redirector.sh.in
deleted file mode 100755
index 9540e352f..000000000
--- a/freebsd/redirector.sh.in
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# $Id$
-#
-# PROVIDE: rspamd_redirector
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following line to /etc/rc.conf to enable countd:
-# rspamd-redirector (bool): Set to "NO" by default.
-# Set it to "YES" to enable redirector.
-
-. /etc/rc.subr
-
-name="rspamd_redirector"
-rcvar=`set_rcvar`
-procname="@CMAKE_INSTALL_PREFIX@/bin/rspamd-redirector"
-
-load_rc_config $name
-
-: ${rspamd_redirector_enable="NO"}
-: ${rspamd_redirector_pidfile="/var/run/rspamd/redirector.pid"}
-
-stop_postcmd="rm -f $rspamd_redirector_pidfile"
-
-extra_commands="reload"
-sig_reload="USR1"
-
-command="$procname"
-command_interpreter="/usr/bin/perl"
-
-run_rc_command "$1"