git: 7e5c7d40f179 - main - databases/webdis: add 'restart' option to daemon(8).

From: Jimmy Olgeni <olgeni_at_FreeBSD.org>
Date: Thu, 17 Feb 2022 05:14:28 UTC
The branch main has been updated by olgeni:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e5c7d40f179c0975bc148a42428d0ff39f82eeb

commit 7e5c7d40f179c0975bc148a42428d0ff39f82eeb
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2022-02-17 05:12:56 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2022-02-17 05:14:02 +0000

    databases/webdis: add 'restart' option to daemon(8).
    
    It has been reported that websockets might cause crashes occasionally.
---
 databases/webdis/Makefile        | 1 +
 databases/webdis/files/webdis.in | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/databases/webdis/Makefile b/databases/webdis/Makefile
index dc9de9a79672..30cd407d38fe 100644
--- a/databases/webdis/Makefile
+++ b/databases/webdis/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	webdis
 DISTVERSION=	0.1.19
+PORTREVISION=	1
 CATEGORIES=	databases
 
 MAINTAINER=	olgeni@FreeBSD.org
diff --git a/databases/webdis/files/webdis.in b/databases/webdis/files/webdis.in
index 1aba2553440f..ef94cec48053 100644
--- a/databases/webdis/files/webdis.in
+++ b/databases/webdis/files/webdis.in
@@ -30,7 +30,7 @@ start_precmd=webdis_start_precmd
 pidfile="/var/run/${name}.pid"
 procname="%%PREFIX%%/bin/${name}"
 command=/usr/sbin/daemon
-command_args="-f -c -p ${pidfile} ${procname} ${webdis_config}"
+command_args="-r -f -c -p ${pidfile} ${procname} ${webdis_config}"
 
 webdis_start_precmd()
 {