From 69c8b49c8087bcdc80e572c3e3a289151d12658c Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 10 Jul 2024 15:32:23 +0200 Subject: [PATCH] ftp/fastdfs: make the rc scripts service jails aware PR: 279640 Approved by: maintainer timeout (1 month) --- ftp/fastdfs/Makefile | 1 + ftp/fastdfs/files/fdfs_storaged.in | 1 + ftp/fastdfs/files/fdfs_trackerd.in | 1 + 3 files changed, 3 insertions(+) diff --git a/ftp/fastdfs/Makefile b/ftp/fastdfs/Makefile index 27fad127ba6e..eb5918a71ee2 100644 --- a/ftp/fastdfs/Makefile +++ b/ftp/fastdfs/Makefile @@ -1,5 +1,6 @@ PORTNAME= fastdfs PORTVERSION= 6.0.6 +PORTREVISION= 1 CATEGORIES= ftp MAINTAINER= daniel@blodan.se diff --git a/ftp/fastdfs/files/fdfs_storaged.in b/ftp/fastdfs/files/fdfs_storaged.in index 75099f468214..8d63067969ee 100644 --- a/ftp/fastdfs/files/fdfs_storaged.in +++ b/ftp/fastdfs/files/fdfs_storaged.in @@ -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}" diff --git a/ftp/fastdfs/files/fdfs_trackerd.in b/ftp/fastdfs/files/fdfs_trackerd.in index 82e8973c034f..1f4dc74f23a6 100644 --- a/ftp/fastdfs/files/fdfs_trackerd.in +++ b/ftp/fastdfs/files/fdfs_trackerd.in @@ -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}"