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:
parent
de0101d773
commit
69c8b49c80
@ -1,5 +1,6 @@
|
||||
PORTNAME= fastdfs
|
||||
PORTVERSION= 6.0.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ftp
|
||||
|
||||
MAINTAINER= daniel@blodan.se
|
||||
|
@ -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}"
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user