1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

ftp/fastdfs: make the rc scripts service jails aware

PR:		279640
Approved by:	maintainer timeout (1 month)
This commit is contained in:
Alexander Leidinger 2024-07-10 15:32:23 +02:00
parent de0101d773
commit 69c8b49c80
3 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= fastdfs
PORTVERSION= 6.0.6
PORTREVISION= 1
CATEGORIES= ftp
MAINTAINER= daniel@blodan.se

View File

@ -35,6 +35,7 @@ fdfs_storaged_poststart()
# read configuration and set defaults
load_rc_config "$name"
: ${fdfs_storaged_enable="NO"}
: ${fdfs_storaged_svcj_options:="net_basic"}
: ${fdfs_storaged_config="%%PREFIX%%/etc/fdfs/storage.conf"}
command_args="${fdfs_storaged_config}"

View File

@ -35,6 +35,7 @@ fdfs_trackerd_poststart()
# read configuration and set defaults
load_rc_config "$name"
: ${fdfs_trackerd_enable="NO"}
: ${fdfs_trackerd_svcj_options:="net_basic"}
: ${fdfs_trackerd_config="%%PREFIX%%/etc/fdfs/tracker.conf"}
command_args="${fdfs_trackerd_config}"