diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2022-02-27 12:12:19 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2022-02-27 12:13:39 +0000 |
commit | f2c3b50793c48454acd284fc884960f6d2646cba (patch) | |
tree | 88a67041376b177529e5e4f0155da07f016a2198 | |
parent | 229dd178ff84e4f1a7d66385fcf58f388e64dabb (diff) | |
download | ports-f2c3b50793c48454acd284fc884960f6d2646cba.tar.gz ports-f2c3b50793c48454acd284fc884960f6d2646cba.zip |
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.
-rw-r--r-- | databases/webdis/Makefile | 2 | ||||
-rw-r--r-- | databases/webdis/files/webdis.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/databases/webdis/Makefile b/databases/webdis/Makefile index de8ca8ab0b6b..4e8385a3640f 100644 --- a/databases/webdis/Makefile +++ b/databases/webdis/Makefile @@ -1,6 +1,6 @@ PORTNAME= webdis DISTVERSION= 0.1.20 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= olgeni@FreeBSD.org diff --git a/databases/webdis/files/webdis.in b/databases/webdis/files/webdis.in index ef94cec48053..a0b8149f4ba0 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="-r -f -c -p ${pidfile} ${procname} ${webdis_config}" +command_args="-r -f -c -P ${pidfile} ${procname} ${webdis_config}" webdis_start_precmd() { |