/usr/local/etc/rc.d/jftpgw states: pidfile=/var/run/jftpgw.pid When the pid file is changed via jftpgw.conf the change is ignored and restart fails. Fix: Remove line pidfile=/var/run/jftpgw.pid from /usr/local/etc/rc.d/jftpgw as 'pidfile=/var/run/jftpgw.pid' is default anyway. How-To-Repeat: [root@proxy ~]# cat /usr/local/etc/jftpgw.conf | grep pid$ pidfile /var/run/jftpgw/jftpgw.pid [root@proxy ~]# ps -p `cat /var/run/jftpgw/jftpgw.pid` PID TT STAT TIME COMMAND 49108 ?? Ss 0:00.00 /usr/local/sbin/jftpgw -f /usr/local/etc/jftpgw.conf [root@proxy ~]# /usr/local/etc/rc.d/jftpgw restart jftpgw not running? (check /var/run/jftpgw.pid). Starting jftpgw. Error binding: Address already in use [root@proxy ~]#
To which port does this PR apply? mcl
Responsible Changed From-To: freebsd-ports-bugs->se Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: se->freebsd-ports-bugs Maintainer was reset.
lippe 2009-01-02 19:18:02 UTC FreeBSD ports repository Modified files: ftp/jftpgw Makefile ftp/jftpgw/files jftpgw.sh.in Log: - Fix rc script when setting pidfile in the main config file. - PORTREVISION bumped. PR: ports/127978 Submitted by: Helmut Schneider <jumper99@gmx.de> Revision Changes Path 1.16 +1 -1 ports/ftp/jftpgw/Makefile 1.8 +0 -1 ports/ftp/jftpgw/files/jftpgw.sh.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!