From 4ce94d08f1ba64117bcaf89d527b283d2df609c1 Mon Sep 17 00:00:00 2001 From: Juraj Lutter Date: Fri, 12 Feb 2021 22:01:23 +0000 Subject: [PATCH] textproc/elasticsearch6: Fix rc order It has been found that elasticsearch is being started in wrong phase of rc sequence. This should bring it to more apropriate place where all services, including cleartmp, are started. PR: 236840 Reported by: Nemesis11 Reviewed by: osa (mentor), swills Approved by: osa (mentor) MFH: 2021Q1 Differential Revision: https://reviews.freebsd.org/D27874 --- textproc/elasticsearch6/Makefile | 5 ++--- textproc/elasticsearch6/files/elasticsearch.in | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/textproc/elasticsearch6/Makefile b/textproc/elasticsearch6/Makefile index 86dde0ef5f73..6c33a126d919 100644 --- a/textproc/elasticsearch6/Makefile +++ b/textproc/elasticsearch6/Makefile @@ -3,10 +3,9 @@ PORTNAME= elasticsearch PORTVERSION= 6.8.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc java devel -MASTER_SITES= https://artifacts.elastic.co/downloads/${PORTNAME}/ \ - https://ftp.sk.freebsd.org/pub/local/distfiles/ +MASTER_SITES= https://artifacts.elastic.co/downloads/${PORTNAME}/ PKGNAMESUFFIX= 6 MAINTAINER= elastic@FreeBSD.org diff --git a/textproc/elasticsearch6/files/elasticsearch.in b/textproc/elasticsearch6/files/elasticsearch.in index eea1d22a44f8..ddf5938e2eba 100644 --- a/textproc/elasticsearch6/files/elasticsearch.in +++ b/textproc/elasticsearch6/files/elasticsearch.in @@ -3,8 +3,8 @@ # $FreeBSD$ # # PROVIDE: elasticsearch -# REQUIRE: NETWORKING SERVERS -# BEFORE: DAEMON +# REQUIRE: DAEMON +# BEFORE: LOGIN # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable elasticsearch: