git: 5b6467c86f17 - 2026Q3 - www/webhook: Fix rc.d reload command

From: Yusuf Yaman <nxjoseph_at_FreeBSD.org>
Date: Tue, 28 Jul 2026 21:39:15 UTC
The branch 2026Q3 has been updated by nxjoseph:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b6467c86f1717cf29f5fbd08bdb66f927d08b75

commit 5b6467c86f1717cf29f5fbd08bdb66f927d08b75
Author:     Tine Jozelj <tine.jozelj@massive.se>
AuthorDate: 2026-07-16 08:40:10 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-07-28 21:39:01 +0000

    www/webhook: Fix rc.d reload command
    
    PR:             296833
    Reported by:    Tine Jozelj <tine@tjo.space>
    Approved by:    Stefan Bethke <stb@lassitu.de> (maintainer)
    Approved by:    osa, vvd (Mentors, implicit)
    MFH:            2026Q3
    
    (cherry picked from commit f7c372bc6b8e55c505e332d3bf4dece2af82a895)
---
 www/webhook/Makefile         | 2 +-
 www/webhook/files/webhook.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/webhook/Makefile b/www/webhook/Makefile
index 8c80b1df831d..ee625c2eb0dc 100644
--- a/www/webhook/Makefile
+++ b/www/webhook/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	webhook
 DISTVERSION=	2.8.2
-PORTREVISION=	15
+PORTREVISION=	16
 CATEGORIES=	www
 
 MAINTAINER=	stb@lassitu.de
diff --git a/www/webhook/files/webhook.in b/www/webhook/files/webhook.in
index 3955c1523348..ced979c67abd 100644
--- a/www/webhook/files/webhook.in
+++ b/www/webhook/files/webhook.in
@@ -32,6 +32,6 @@ command_args="%%DAEMONARGS%% -p ${pidfile} ${procname} \
 	-hooks ${webhook_conf} ${webhook_options}"
 
 start_precmd="install -o ${webhook_user} /dev/null ${pidfile}"
-reload_cmd="pkill -SIGUSR1-U ${webhook_user} -F {pidfile} ${procname}"
+reload_cmd="pkill -SIGUSR1 -U ${webhook_user} -F ${pidfile} -f ${procname}"
 
 run_rc_command "$1"