Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2026 09:34:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 296833] www/webhook: fix reload command
Message-ID:  <bug-296833-7788-YvsuHc8Qgr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-296833-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296833

--- Comment #3 from Tine Jozelj <tine@tjo.space> ---
Comment on attachment 272901
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272901
Patch to fix the reload command

>>From 085b7a5d5b6e0600bba7f84a16c20b4e3a5c2ed1 Mon Sep 17 00:00:00 2001
>From: Tine Jozelj <tine.jozelj@massive.se>
>Date: Thu, 16 Jul 2026 10:40:10 +0200
>Subject: [PATCH] fix www/webhook reload command
>
>There were typos which produced invalid command.
>---
> www/webhook/files/webhook.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/www/webhook/files/webhook.in b/www/webhook/files/webhook.in
>index 3955c1523..3f13c9a34 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"
>-- 
>2.51.2
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-296833-7788-YvsuHc8Qgr>