/var/run/ pid files
Supote Leelasupphakorn
pjn0211 at yahoo.com
Tue Jul 15 23:54:12 PDT 2003
--- Ronny Hippler <r11roadster at 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/
More information about the freebsd-questions
mailing list