git: 98fe1eed93b3 - main - www/py-gunicorn: Fix rc script

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 02 May 2024 22:31:00 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98fe1eed93b3b7b2b12c4b66aede4f4c44d9c863

commit 98fe1eed93b3b7b2b12c4b66aede4f4c44d9c863
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-05-02 22:15:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-05-02 22:15:46 +0000

    www/py-gunicorn: Fix rc script
---
 www/py-gunicorn/Makefile          | 1 +
 www/py-gunicorn/files/gunicorn.in | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile
index bf9f7bf62a8d..55af03382da3 100644
--- a/www/py-gunicorn/Makefile
+++ b/www/py-gunicorn/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gunicorn
 DISTVERSION=	22.0.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-gunicorn/files/gunicorn.in b/www/py-gunicorn/files/gunicorn.in
index f0c995224af2..86d3e2d3cad2 100644
--- a/www/py-gunicorn/files/gunicorn.in
+++ b/www/py-gunicorn/files/gunicorn.in
@@ -20,7 +20,7 @@ rcvar=gunicorn_enable
 load_rc_config $name
 
 : ${gunicorn_enable:=NO}
-: ${gunicorn_config=%%PREFIX%%/gunicorn/gunicorn.conf.py}
+: ${gunicorn_config=%%PREFIX%%/etc/gunicorn/gunicorn.conf.py}
 : ${gunicorn_user=%%USERS%%}
 : ${gunicorn_group=%%GROUPS%%}