Date: Wed, 16 Jul 2003 07:54:11 +0100 (BST) From: =?iso-8859-1?q?Supote=20Leelasupphakorn?= <pjn0211@yahoo.com> To: Ronny Hippler <bmwz3@attglobal.net> Cc: freebsd-questions@freebsd.org Subject: Re: /var/run/ pid files Message-ID: <20030716065411.13271.qmail@web40604.mail.yahoo.com> In-Reply-To: <20030716044054.71D5843F75@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Ronny Hippler <r11roadster@yahoo.com> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030716065411.13271.qmail>