databases/webdis: add 'restart' option to daemon(8).
It has been reported that websockets might cause crashes occasionally.
This commit is contained in:
parent
5869f8edc0
commit
7e5c7d40f1
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= webdis
|
||||
DISTVERSION= 0.1.19
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
|
||||
MAINTAINER= olgeni@FreeBSD.org
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue