git: 9b7bd0a94a44 - main - databases/qdrant: Fix rc.d script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 14:41:34 UTC
The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b7bd0a94a44cc0ed35cda0c064116d66f30431c commit 9b7bd0a94a44cc0ed35cda0c064116d66f30431c Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2024-01-22 14:40:06 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2024-01-22 14:40:51 +0000 databases/qdrant: Fix rc.d script Correctly pass additional flags to qdrant. Approved by: yuri (maintainer) --- databases/qdrant/Makefile | 2 +- databases/qdrant/files/qdrant.in | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/databases/qdrant/Makefile b/databases/qdrant/Makefile index 43d87da1d54d..8219397f1a4b 100644 --- a/databases/qdrant/Makefile +++ b/databases/qdrant/Makefile @@ -1,7 +1,7 @@ PORTNAME= qdrant DISTVERSIONPREFIX= v DISTVERSION= 1.7.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MAINTAINER= yuri@FreeBSD.org diff --git a/databases/qdrant/files/qdrant.in b/databases/qdrant/files/qdrant.in index 4b0aecf61408..0f75159650e4 100644 --- a/databases/qdrant/files/qdrant.in +++ b/databases/qdrant/files/qdrant.in @@ -35,6 +35,7 @@ pidfile="${_piddir}/qdrant.pid" : ${qdrant_config="%%ETCDIR%%/config.yaml"} : ${qdrant_user="nobody"} : ${qdrant_group="nobody"} +: ${qdrant_flags=""} load_rc_config ${name} @@ -119,7 +120,8 @@ procname=%%PREFIX%%/bin/qdrant command="/usr/sbin/daemon" command_args="-f -S -p ${pidfile} \ -t qdrant${_profsuffx} \ - %%PREFIX%%/bin/qdrant --config-path $qdrant_config" + %%PREFIX%%/bin/qdrant --config-path $qdrant_config \ + $qdrant_flags" start_precmd="install -d -o $qdrant_user -g $qdrant_group -m 755 $_piddir"