FIXED! It works great if I remove the /dev/null and since there is no output from it, I guess I'll just run it like this:
[ -x /usr/local/sbin/spamd ] && /usr/local/sbin/spamd -dac && echo -n ' spamd' My only question now is how to get it to stop via the init script. I was using this: kill `ps uax | grep xterm | grep -v grep | awk '{print $2}'` but that seems to only work sporadically...for some unknown reason. Appreciate the help! > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:spamassassin-talk- > [EMAIL PROTECTED]] On Behalf Of Duncan Findlay > Sent: Tuesday, February 26, 2002 8:52 PM > To: [EMAIL PROTECTED] > Subject: Re: [SAtalk] BSD rc.d script and HTML spam > > On Tue, Feb 26, 2002 at 08:36:18PM -0600, Mike Loiterman wrote: > > I still can't get my startup script to work... > > > > I put this in the script > > > > [ -x /usr/bin/spamd ] && /usr/bin/spamd -dac > /dev/null && echo -n ' > > spamd' > > > > But it refuses to work unless I start it manually or remove the -dac. > > Any ideas? > > > > Try it without the > /dev/null for testing. I think it has to do with -a and > running as root. If that doesn't show anything, add a -D. > > -- > Duncan Findlay > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk