From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 23:54:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB0ED37B401 for ; Tue, 15 Jul 2003 23:54:11 -0700 (PDT) Received: from web40604.mail.yahoo.com (web40604.mail.yahoo.com [66.218.78.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 3D31143F93 for ; Tue, 15 Jul 2003 23:54:11 -0700 (PDT) (envelope-from pjn0211@yahoo.com) Message-ID: <20030716065411.13271.qmail@web40604.mail.yahoo.com> Received: from [202.183.248.166] by web40604.mail.yahoo.com via HTTP; Wed, 16 Jul 2003 07:54:11 BST Date: Wed, 16 Jul 2003 07:54:11 +0100 (BST) From: =?iso-8859-1?q?Supote=20Leelasupphakorn?= To: Ronny Hippler In-Reply-To: <20030716044054.71D5843F75@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: /var/run/ pid files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 06:54:12 -0000 --- Ronny Hippler wrote: > Hello, > What controls the creation of the pid files in the > /var/run/ directory? > every time I shut down I get the error: bftpd.pid: > No such file or directory > therefore I am not getting a clean shutdown on > bftpd, no biggie but annoying. I > am starting this via /usr/local/etc/rc.d/bftpd.sh > which is below. when I look in > /var/run/ there obviously is no pid file but there > is a bftpd directory which is > empty. Is this an error in the script or in the > program? TIA > > #!/bin/sh - > > # initialization/shutdown script for bftpd > > case "$1" in > start) > /usr/local/sbin/bftpd -d && echo > -n ' bftpd' > ;; > stop) > kill `cat /var/run/bftpd.pid` && > echo -n ' bftpdf' > ;; > *) > echo "unknown option: $1 - should > be 'start' or 'stop'" >&2 > ;; > esac > > > > > Hi, Let me guest the application you was running(bftpd) is the one installed from port. Find out who is MAINTAINER (found in Makefile of each port) and let he knows. Cheer, ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/