git: f2c3b50793c4 - main - databases/webdis: fix rc script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Feb 2022 12:15:24 UTC
The branch main has been updated by olgeni: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2c3b50793c48454acd284fc884960f6d2646cba commit f2c3b50793c48454acd284fc884960f6d2646cba Author: Jimmy Olgeni <olgeni@FreeBSD.org> AuthorDate: 2022-02-27 12:12:19 +0000 Commit: Jimmy Olgeni <olgeni@FreeBSD.org> CommitDate: 2022-02-27 12:13:39 +0000 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. --- databases/webdis/Makefile | 2 +- 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() {