From owner-freebsd-questions Fri Apr 19 18: 4:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by hub.freebsd.org (Postfix) with ESMTP id AFCB837B419 for ; Fri, 19 Apr 2002 18:04:23 -0700 (PDT) Received: from veverka.sh.cvut.cz (veverka.sh.cvut.cz [147.32.127.216]) by service.sh.cvut.cz (Postfix) with ESMTP id B31E01E7E9; Sat, 20 Apr 2002 03:04:03 +0200 (CEST) Received: (from buki@localhost) by veverka.sh.cvut.cz (8.9.3/8.9.2) id DAA45975; Sat, 20 Apr 2002 03:04:19 +0200 (CEST) (envelope-from buki) Date: Sat, 20 Apr 2002 03:04:19 +0200 From: Buki To: Bob Kersten Cc: questions@FreeBSD.ORG Subject: Re: changing sendmails priority Message-ID: <20020420030419.A45782@veverka.sh.cvut.cz> References: <004901c1e61f$18d52100$2849a8c0@kerstenz6r4278> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <004901c1e61f$18d52100$2849a8c0@kerstenz6r4278>; from bob@fellownet.org on Wed, Apr 17, 2002 at 04:49:34PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > '. 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 > 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