2 # $FreeBSD: head/mail/dspam-devel/files/dspam-devel.in 340872 2014-01-24 00:14:07Z mat $
6 # REQUIRE: DAEMON %%MYSQL%% %%PGSQL%% %%CLAMD%%
11 # Add the following lines to /etc/rc.conf[.local] to enable dspam:
14 # dspam_debug="YES" will start dspam with debug logging (you need ar least WITH_DEBUG)
15 # you can also set the pid file via dspam_pidfile
26 : ${dspam_enable="NO"}
28 : ${dspam_pidfile:-/var/run/dspam.pid}
30 command=%%PREFIX%%/bin/${name}
31 if checkyesno dspam_debug
33 command_args="--daemon --debug > /dev/null 2>&1 &"
35 command_args="--daemon > /dev/null 2>&1 &"
37 required_dirs=%%DSPAM_HOME%%
38 required_files=%%PREFIX%%/etc/${name}.conf
43 kill -HUP `cat $pidfile`