From ee85c0713e8e0112a690d91331524f4a002d07e1 Mon Sep 17 00:00:00 2001 From: sthen Date: Thu, 12 May 2022 10:31:58 +0000 Subject: [PATCH] add a login.conf.d fragment for solr --- textproc/solr/Makefile | 1 + textproc/solr/pkg/PLIST | 2 ++ textproc/solr/pkg/solr.login | 4 ++++ 3 files changed, 7 insertions(+) create mode 100644 textproc/solr/pkg/solr.login diff --git a/textproc/solr/Makefile b/textproc/solr/Makefile index 8dc81b4da45..bdf3580aa0a 100644 --- a/textproc/solr/Makefile +++ b/textproc/solr/Makefile @@ -1,6 +1,7 @@ COMMENT= full-text search engine based on Lucene V= 8.11.1 +REVISION= 0 DISTNAME= solr-$V EXTRACT_SUFX= .tgz diff --git a/textproc/solr/pkg/PLIST b/textproc/solr/pkg/PLIST index 597249a68cb..b0429bb9941 100644 --- a/textproc/solr/pkg/PLIST +++ b/textproc/solr/pkg/PLIST @@ -4,6 +4,8 @@ @extraunexec rm /var/log/solr/* @rcscript ${RCDIR}/solr bin/solr +share/examples/login.conf.d/solr +@sample ${SYSCONFDIR}/login.conf.d/solr share/solr/ @mode 770 @owner _solr diff --git a/textproc/solr/pkg/solr.login b/textproc/solr/pkg/solr.login new file mode 100644 index 00000000000..e148b317b66 --- /dev/null +++ b/textproc/solr/pkg/solr.login @@ -0,0 +1,4 @@ +solr:\ + :openfiles-cur=1024:\ + :openfiles-max=2048:\ + :tc=daemon: