databases/webdis: fix rc script
Pass -P to daemon(8), else the 'stop' command will just kill a child process that will promptly be restarted.
This commit is contained in:
parent
229dd178ff
commit
f2c3b50793
@ -1,6 +1,6 @@
|
||||
PORTNAME= webdis
|
||||
DISTVERSION= 0.1.20
|
||||
PORTREVISION= 0
|
||||
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="-r -f -c -p ${pidfile} ${procname} ${webdis_config}"
|
||||
command_args="-r -f -c -P ${pidfile} ${procname} ${webdis_config}"
|
||||
|
||||
webdis_start_precmd()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user