mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Pull the pidfile path from a central location (the config file)
instead of hard coding it again in the rc.d script PR: ports/141945 Submitted by: Danil <desruptorrogue@gmail.com>
This commit is contained in:
parent
ae534863c0
commit
21ebf5c57f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247097
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= proftpd
|
||||
PORTVERSION= 1.3.2b
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= ftp
|
||||
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
||||
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
|
||||
@ -56,7 +57,7 @@ GNU_CONFIGURE= yes
|
||||
|
||||
CONFLICTS= proftpd-devel-1.[0-9].*
|
||||
|
||||
USE_RC_SUBR= proftpd.sh
|
||||
USE_RC_SUBR= proftpd
|
||||
|
||||
CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
--with-pkgconfig=libdata/pkgconfig \
|
||||
|
@ -23,7 +23,7 @@ name=proftpd
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=%%PREFIX%%/sbin/proftpd
|
||||
pidfile=/var/run/proftpd.pid
|
||||
pidfile=$(grep PidFile /usr/local/etc/proftpd.conf | awk '{print($2)}')
|
||||
required_files=%%PREFIX%%/etc/proftpd.conf
|
||||
|
||||
stop_postcmd=stop_postcmd
|
Loading…
Reference in New Issue
Block a user