ports/82151: [PATCH] mail/p5-Mail-SpamAssassin: install rcNG
startup script to properly location
Petr Rehor
prehor at gmail.com
Wed Jul 6 11:20:14 GMT 2005
The following reply was made to PR ports/82151; it has been noted by GNATS.
From: Petr Rehor <prehor at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/82151: [PATCH] mail/p5-Mail-SpamAssassin: install rcNG startup script to properly location
Date: Wed, 6 Jul 2005 13:10:40 +0200
I found a "small" bug in my previous posting :^(
This patch resolve the problem - spamd don't start after boot, but it
can be started manually with /etc/rc.d/spamd start.
P.
--- BEGIN ---
--- spamd.sh.in.orig Wed Jun 8 23:41:36 2005
+++ spamd.sh.in Wed Jul 6 12:55:43 2005
@@ -17,9 +17,9 @@
#
# Set defaults
-spamd_enable=3D"NO"
-spamd_pidfile=3D"/var/run/spamd/spamd.pid"
-spamd_flags=3D"-c -d %%SQL_FLAG%% -r ${spamd_pidfile} %%RUN_AS_USER%%"
+: ${spamd_enable:=3D"NO"}
+: ${spamd_pidfile:=3D"/var/run/spamd/spamd.pid"}
+: ${spamd_flags:=3D"-c -d %%SQL_FLAG%% -r ${spamd_pidfile} %%RUN_AS_USER%%=
"}
. %%RC_SUBR%%
--- END ---
More information about the freebsd-perl
mailing list