Date: Sat, 20 Apr 2002 03:04:19 +0200 From: Buki <dev@null.cz> To: Bob Kersten <bob@medusa.nl> Cc: questions@FreeBSD.ORG Subject: Re: changing sendmails priority Message-ID: <20020420030419.A45782@veverka.sh.cvut.cz> In-Reply-To: <004901c1e61f$18d52100$2849a8c0@kerstenz6r4278>; from bob@fellownet.org on Wed, Apr 17, 2002 at 04:49:34PM %2B0200 References: <004901c1e61f$18d52100$2849a8c0@kerstenz6r4278>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 17, 2002 at 04:49:34PM +0200, Bob Kersten wrote: > Hi, > > I trying to automatically change the priority of sendmail on my > freebsd computer. This can be done through a terminal with 'renice -20 > <sendmail's pid>'. But the problem is, I want to do this on each > reboot. I have sendmail configured to start from within the rc.conf, > and i want to change the priority in rc.local (for instance). The PID > of sendmail changes every reboot, so I don't know what to put in the > <sendmail's pid> section above. Can someone tell my how this is done > more easily of differently? renice -20 `cat /var/run/sendmail.pid | head 1` should do the job Buki > > Cheers, > Bob. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- PGP public key: http://dev.null.cz/buki.asc /"\ \ / ASCII Ribbon Campaign X Against HTML & Outlook Mail / \ http://www.thebackrow.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020420030419.A45782>