Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 11:51:19 GMT
From:      Danil <desruptorrogue@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/141945: static pidfile in rc.d/proftpd
Message-ID:  <200912241151.nBOBpJcC005589@www.freebsd.org>
Resent-Message-ID: <200912241200.nBOC0HYj025526@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         141945
>Category:       ports
>Synopsis:       static pidfile in rc.d/proftpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 24 12:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Danil
>Release:        7.2
>Organization:
Alt-audit
>Environment:
FreeBSD host 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Sorry for my bad english.

The pid file of proftpd cat be set in proftpd.conf (PidFile    file), but rc script see the pid file in pidfile=/var/run/proftpd/pidfile, when user use start, restart, status, etc.
>How-To-Repeat:
in proftpd.conf PidFile not eq pidfile in rc script proftpd
>Fix:
in rc script pidfile=`grep PidFile /usr/local/etc/proftpd.conf | awk '{print($2)}'`

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912241151.nBOBpJcC005589>