databases/webdis: add 'restart' option to daemon(8).

It has been reported that websockets might cause crashes occasionally.
This commit is contained in:
Jimmy Olgeni 2022-02-17 06:12:56 +01:00
parent 5869f8edc0
commit 7e5c7d40f1
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= webdis
DISTVERSION= 0.1.19
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= olgeni@FreeBSD.org

View file

@ -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()
{